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:
Ryan Boren 2006-06-23 20:05:23 +00:00
parent 39229a3311
commit ce51707da2
1 changed files with 1 additions and 1 deletions

View File

@ -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";