Index: src/wp-includes/functions.php
--- src/wp-includes/functions.php
+++ src/wp-includes/functions.php
@@ -3786,6 +3786,9 @@
 		<?php
 		if ( function_exists( 'wp_robots' ) && function_exists( 'wp_robots_no_robots' ) && function_exists( 'add_filter' ) ) {
 			add_filter( 'wp_robots', 'wp_robots_no_robots' );
+ 			remove_filter( 'wp_robots', 'wp_robots_noindex_embeds' );
+ 			remove_filter( 'wp_robots', 'wp_robots_noindex_search' );
 			wp_robots();
 		}
 		?>

