From bbff31baca66ed0ea304dc6a78f889a135857fd2 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 20 Jun 2014 21:02:14 +0000 Subject: [PATCH] Stop denying wp-includes/* in our default robots.txt. props joostdevalk. fixes #28604. Built from https://develop.svn.wordpress.org/trunk@28794 git-svn-id: http://core.svn.wordpress.org/trunk@28607 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index db399cf1e6..33ace4283b 100644 --- a/wp-includes/functions.php +++ b/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"; } /**