From 8750097e4bb2729d3fb23eecf12176148911cf7e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 27 Aug 2019 00:17:56 +0000 Subject: [PATCH] Docs: Remove a clarification from `do_robots()` description that doesn't really clarify anything. See #47110. Built from https://develop.svn.wordpress.org/trunk@45898 git-svn-id: http://core.svn.wordpress.org/trunk@45709 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 7 ++----- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 32262a02ba..d89ff1663e 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1528,10 +1528,7 @@ function do_feed_atom( $for_comments ) { } /** - * Display the robots.txt file content. - * - * The echo content should be with usage of the permalinks or for creating the - * robots.txt file. + * Displays the default robots.txt file content. * * @since 2.1.0 */ @@ -1561,7 +1558,7 @@ function do_robots() { * * @since 3.0.0 * - * @param string $output Robots.txt output. + * @param string $output The robots.txt output. * @param bool $public Whether the site is considered "public". */ echo apply_filters( 'robots_txt', $output, $public ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 1d998f1e78..07b3096c5a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45897'; +$wp_version = '5.3-alpha-45898'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.