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