Make WordPress Core

Ticket #18612: functions.diff

File functions.diff, 663 bytes (added by madjax, 14 years ago)
  • functions.php

     
    18301830}
    18311831
    18321832/**
    1833  * Display the robot.txt file content.
     1833 * Display the robots.txt file content.
    18341834 *
    18351835 * The echo content should be with usage of the permalinks or for creating the
    1836  * robot.txt file.
     1836 * robots.txt file.
    18371837 *
    18381838 * @since 2.1.0
    1839  * @uses do_action() Calls 'do_robotstxt' hook for displaying robot.txt rules.
     1839 * @uses do_action() Calls 'do_robotstxt' hook for displaying robots.txt rules.
    18401840 */
    18411841function do_robots() {
    18421842        header( 'Content-Type: text/plain; charset=utf-8' );