mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-15 08:44:33 +00:00
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
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user