Ticket #18612: functions.diff
File functions.diff, 663 bytes (added by , 14 years ago) |
---|
-
functions.php
1830 1830 } 1831 1831 1832 1832 /** 1833 * Display the robot .txt file content.1833 * Display the robots.txt file content. 1834 1834 * 1835 1835 * The echo content should be with usage of the permalinks or for creating the 1836 * robot .txt file.1836 * robots.txt file. 1837 1837 * 1838 1838 * @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. 1840 1840 */ 1841 1841 function do_robots() { 1842 1842 header( 'Content-Type: text/plain; charset=utf-8' );