diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 5bebf9b739..29e38b63b1 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -718,7 +718,7 @@ function single_tag_title($prefix = '', $display = true ) { if ( !is_tag() ) return; - $tag = $wp_query->get_queried_object();; + $tag = $wp_query->get_queried_object(); if ( ! $tag ) return; diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 730874bae1..dd4f941bbb 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -2037,26 +2037,6 @@ function rel_canonical() { echo "\n"; } -/** - * Prints the ajax url on the front end - * - * @since 3.0.0 - **/ -function _wp_ajaxurl() { - echo '\n"; -} - -/** - * Hooks _wp_ajaxurl() to wp_head - * - * @since 3.0.0 - **/ -function wp_ajaxurl() { - add_action('wp_head', '_wp_ajaxurl', 1); -} - /** * Return a shortlink for a post, page, attachment, or blog. * diff --git a/wp-settings.php b/wp-settings.php index 91971b6559..8437cfb38c 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -289,7 +289,10 @@ do_action( 'init' ); /** * This hook is fired once WP, all plugins, and the theme are fully loaded and instantiated. * - * AJAX requests should use wp-ajax.php and wp-admin/admin-ajax.php instead. + * AJAX requests should use wp-admin/admin-ajax.php. admin-ajax.php can handle requests for + * users not logged in. + * + * @link http://codex.wordpress.org/AJAX_in_Plugins * * @since 3.0.0 */