From c45a47efdd059f961f0d2647832bfdb8f2b216ab Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 20 Jun 2014 21:01:29 +0000 Subject: [PATCH] Stop denying wp-includes/* in our default robots.txt. props joostdevalk. fixes #28604. git-svn-id: https://develop.svn.wordpress.org/trunk@28794 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index db399cf1e6..33ace4283b 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -1164,7 +1164,6 @@ function do_robots() { $site_url = parse_url( site_url() ); $path = ( !empty( $site_url['path'] ) ) ? $site_url['path'] : ''; $output .= "Disallow: $path/wp-admin/\n"; - $output .= "Disallow: $path/wp-includes/\n"; } /**