Fix conditional

This commit is contained in:
Claudio Sanches 2021-02-01 19:30:43 -03:00
parent 31af5530e0
commit 0bd9c11b44
1 changed files with 1 additions and 1 deletions

View File

@ -3569,7 +3569,7 @@ function wc_empty_cart_message() {
*/
function wc_page_noindex() {
// wp_no_robots is deprecated since WP 5.7.
if ( ! function_exists( 'wp_robots_no_robots' ) ) {
if ( function_exists( 'wp_robots_no_robots' ) ) {
return;
}