Ticket #28604: functions-robots.diff
File functions-robots.diff, 429 bytes (added by , 11 years ago) |
---|
-
wp-includes/functions.php
1164 1164 $site_url = parse_url( site_url() ); 1165 1165 $path = ( !empty( $site_url['path'] ) ) ? $site_url['path'] : ''; 1166 1166 $output .= "Disallow: $path/wp-admin/\n"; 1167 $output .= "Disallow: $path/wp-includes/\n";1168 1167 } 1169 1168 1170 1169 /**