mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 21:51:26 +01:00
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
This commit is contained in:
parent
dc0aca09f5
commit
bbff31baca
@ -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";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user