diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index f1866db533..3ab18debcc 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -39,7 +39,7 @@ add_action( 'init', 'wp_admin_bar_init' ); * This is called very late on the footer actions so that it will render after anything else being * added to the footer. * - * It includes the action "wp_before_admin_bar_render" which should be used to hook in and + * It includes the action "admin_bar_menu" which should be used to hook in and * add new menus to the admin bar. That way you can be sure that you are adding at most optimal point, * right before the admin bar is rendered. This also gives you access to the $post global, among others. *