Ticket #63039: 63039.patch
File 63039.patch, 495 bytes (added by , 4 months ago) |
---|
-
src/wp-includes/functions.php
diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 9a6938ed64..555508403b 100644
a b function do_robots() { 1715 1715 do_action( 'do_robotstxt' ); 1716 1716 1717 1717 $output = "User-agent: *\n"; 1718 $public = get_option( 'blog_public' );1718 $public = (bool) get_option( 'blog_public' ); 1719 1719 1720 1720 $site_url = parse_url( site_url() ); 1721 1721 $path = ( ! empty( $site_url['path'] ) ) ? $site_url['path'] : '';