Ticket #53262: fix-wp_die-notices.patch
File fix-wp_die-notices.patch, 467 bytes (added by , 3 years ago) |
---|
-
src/wp-includes/functions.php
3786 3786 <?php 3787 3787 if ( function_exists( 'wp_robots' ) && function_exists( 'wp_robots_no_robots' ) && function_exists( 'add_filter' ) ) { 3788 3788 add_filter( 'wp_robots', 'wp_robots_no_robots' ); 3789 remove_filter( 'wp_robots', 'wp_robots_noindex_embeds' ); 3790 remove_filter( 'wp_robots', 'wp_robots_noindex_search' ); 3789 3791 wp_robots(); 3790 3792 } 3791 3793 ?> 3792 3794