Use underscore separator

git-svn-id: http://svn.automattic.com/wordpress/trunk@15916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-10-22 19:10:23 +00:00
parent edbfd35f31
commit 920bf4e235

View File

@ -324,7 +324,7 @@ function wp_admin_bar_ajax_render() {
wp_admin_bar_render(); wp_admin_bar_render();
die; die;
} }
add_action( 'wp_ajax_adminbar_render', 'wp_admin_bar_ajax_render' ); add_action( 'wp_ajax_admin_bar_render', 'wp_admin_bar_ajax_render' );
function is_admin_bar() { function is_admin_bar() {
return ( 0 === strpos($_SERVER['REQUEST_URI'], '/js/admin-bar') ); return ( 0 === strpos($_SERVER['REQUEST_URI'], '/js/admin-bar') );