From ce51707da2f639097a369c306a5b100a2fd4bc43 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 23 Jun 2006 20:05:23 +0000 Subject: [PATCH] Avoid recursive action. Props itdamager. fixes #2852 git-svn-id: https://develop.svn.wordpress.org/trunk@3904 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 2593daf384..24e07a6f22 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -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";