mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Use underscore separator
git-svn-id: http://svn.automattic.com/wordpress/trunk@15916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
edbfd35f31
commit
920bf4e235
@ -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') );
|
||||||
|
Loading…
Reference in New Issue
Block a user