Skip to content
Permalink
Browse files

Docs: Remove a clarification from `do_robots()` description that does…

…n't really clarify anything.

See #47110.

git-svn-id: https://develop.svn.wordpress.org/trunk@45898 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Aug 27, 2019
1 parent ef69d4b commit 62a87563d7d46c56a4020cadcf7255c8088dd235
Showing with 2 additions and 5 deletions.
  1. +2 −5 src/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 );

0 comments on commit 62a8756

Please sign in to comment.
You can’t perform that action at this time.