WP 5.7 Defreciated Function
-
WordPress 5.7 (Or the dev if you are reading this- thanks for the great plugin)
– You will see the warning “Deprecated: wp_no_robots is deprecated since version 5.7.0! Use wp_robots_no_robots() instead. in XXX/public_html/wp-includes/functions.php on line 4861” I found the deprececiated function
IN password-protected-login.php line 63 wp_no_robots But replacing wp_no_robots with wp_robots_no_robots() gives us a further error
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wp_robots_no_robots()’ not found or invalid function name in XXX/wp-includes/class-wp-hook.php on line 292.
If I use wp_robots_no_robots no ()- I get a fatal error.
Just exploring this now, if anyone solved it reach out.
- The topic ‘WP 5.7 Defreciated Function’ is closed to new replies.