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
This commit is contained in:
Sergey Biryukov 2019-08-27 00:17:56 +00:00
parent cc21760163
commit 8750097e4b
2 changed files with 3 additions and 6 deletions

View File

@ -1528,10 +1528,7 @@ function do_feed_atom( $for_comments ) {
} }
/** /**
* Display the robots.txt file content. * Displays the default robots.txt file content.
*
* The echo content should be with usage of the permalinks or for creating the
* robots.txt file.
* *
* @since 2.1.0 * @since 2.1.0
*/ */
@ -1561,7 +1558,7 @@ function do_robots() {
* *
* @since 3.0.0 * @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". * @param bool $public Whether the site is considered "public".
*/ */
echo apply_filters( 'robots_txt', $output, $public ); echo apply_filters( 'robots_txt', $output, $public );

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.