diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 5696852f52..fcb60e6eb3 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1715,7 +1715,7 @@ function do_robots() { do_action( 'do_robotstxt' ); $output = "User-agent: *\n"; - $public = get_option( 'blog_public' ); + $public = (bool) get_option( 'blog_public' ); $site_url = parse_url( site_url() ); $path = ( ! empty( $site_url['path'] ) ) ? $site_url['path'] : ''; diff --git a/wp-includes/version.php b/wp-includes/version.php index 20fa1e7970..8ae85f16d0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-beta1-59945'; +$wp_version = '6.8-beta1-59946'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.