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:
ryan 2006-06-23 20:05:23 +00:00
parent 1034767a9a
commit 9d3fea737d
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";