From 6a2d794144e8ff39c1a8e3040d87fdf92399f8d4 Mon Sep 17 00:00:00 2001 From: Oral UNAL Date: Sat, 5 Aug 2017 00:40:36 +0300 Subject: [PATCH] Update security.php remove_action can take accept only 3 params --- inc/security.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/security.php b/inc/security.php index 2cbcd5a..8130798 100644 --- a/inc/security.php +++ b/inc/security.php @@ -25,8 +25,8 @@ remove_action( 'wp_head', 'wlwmanifest_link' ); remove_action( 'wp_head', 'index_rel_link' ); remove_action( 'wp_head', 'feed_links', 2 ); remove_action( 'wp_head', 'feed_links_extra', 3 ); -remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 ); -remove_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 ); +remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10); +remove_action( 'wp_head', 'wp_shortlink_wp_head', 10); /** * Show less info to users on failed login for security.