From 62a87563d7d46c56a4020cadcf7255c8088dd235 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 27 Aug 2019 00:16:06 +0000 Subject: [PATCH] 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 --- src/wp-includes/functions.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 32262a02ba..d89ff1663e 100644 --- a/src/wp-includes/functions.php +++ b/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 );