Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    => plugins/password-protected/theme/password-protected-login.php:63:
    add_action( ‘password_protected_login_head’, ‘wp_no_robots’ );

    Need to replace this line.

    Moderator cubecolour

    (@numeeja)

    I solved this on my installation by replacing that line with:

    function cc_no_robots(){
    	add_filter( 'wp_robots', 'wp_robots_no_robots' );
    }
    add_action( 'password_protected_login_head', 'cc_no_robots' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_no_robots deprecated’ is closed to new replies.