Avoid recursive action. Props itdamager. fixes #2852
git-svn-id: https://develop.svn.wordpress.org/trunk@3904 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
39229a3311
commit
ce51707da2
@ -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
Block a user