Avoid recursive action. Props itdamager. fixes #2852
git-svn-id: http://svn.automattic.com/wordpress/trunk@3904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1034767a9a
commit
9d3fea737d
|
@ -787,7 +787,7 @@ function do_feed_atom() {
|
|||
}
|
||||
|
||||
function do_robots() {
|
||||
do_action('do_robots');
|
||||
do_action('do_robotstxt');
|
||||
if ( '0' == get_option('blog_public') ) {
|
||||
echo "User-agent: *\n";
|
||||
echo "Disallow: /\n";
|
||||
|
|
Loading…
Reference in New Issue