Update security.php

remove_action can take accept only 3 params
This commit is contained in:
Oral UNAL 2017-08-05 00:40:36 +03:00 committed by GitHub
parent c5a142b762
commit 6a2d794144
1 changed files with 2 additions and 2 deletions

View File

@ -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.