diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index 39c8a0e86b..0d7c3b63c7 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -62,9 +62,8 @@ function _wp_admin_bar_init() { * the function is also called late on {@see 'wp_footer'}. * * It includes the {@see 'admin_bar_menu'} action 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. + * add new menus to the admin bar. This also gives you access to the `$post` global, + * among others. * * @since 3.1.0 * @since 5.4.0 Called on 'wp_body_open' action first, with 'wp_footer' as a fallback. @@ -86,7 +85,10 @@ function wp_admin_bar_render() { /** * Loads all necessary admin bar items. * - * This is the hook used to add, remove, or manipulate admin bar items. + * This hook can add, remove, or manipulate admin bar items. The priority + * determines the placement for new items, and changes to existing items + * would require a high priority. To remove or manipulate existing nodes + * without a specific priority, use `wp_before_admin_bar_render`. * * @since 3.1.0 * diff --git a/wp-includes/version.php b/wp-includes/version.php index 807bfa3b4d..12952bae9d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58977'; +$wp_version = '6.7-alpha-58978'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.