s/robot/robots/. props madjax, fixes #18612.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4410168419
commit
db6765354d
|
@ -1830,13 +1830,13 @@ function do_feed_atom( $for_comments ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display the robot.txt file content.
|
* Display the robots.txt file content.
|
||||||
*
|
*
|
||||||
* The echo content should be with usage of the permalinks or for creating the
|
* The echo content should be with usage of the permalinks or for creating the
|
||||||
* robot.txt file.
|
* robots.txt file.
|
||||||
*
|
*
|
||||||
* @since 2.1.0
|
* @since 2.1.0
|
||||||
* @uses do_action() Calls 'do_robotstxt' hook for displaying robot.txt rules.
|
* @uses do_action() Calls 'do_robotstxt' hook for displaying robots.txt rules.
|
||||||
*/
|
*/
|
||||||
function do_robots() {
|
function do_robots() {
|
||||||
header( 'Content-Type: text/plain; charset=utf-8' );
|
header( 'Content-Type: text/plain; charset=utf-8' );
|
||||||
|
|
Loading…
Reference in New Issue