Docs: Remove a clarification from do_robots()
description that doesn't really clarify anything.
See #47110. git-svn-id: https://develop.svn.wordpress.org/trunk@45898 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ef69d4ba14
commit
62a87563d7
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user