From f50fd7ed45894d036e4fef9ab7e5bbbaff6a30cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 30 Sep 2024 07:10:48 +0000 Subject: [PATCH] Generate stubs for WordPress 6.6.2 --- source/composer.json | 2 +- wordpress-stubs.php | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/source/composer.json b/source/composer.json index d2dd1e2..6c3d543 100644 --- a/source/composer.json +++ b/source/composer.json @@ -7,7 +7,7 @@ "ext-mbstring": "*", "ext-openssl": "*", "ext-sodium": "*", - "johnpbloch/wordpress": "6.6.1" + "johnpbloch/wordpress": "6.6.2" }, "minimum-stability": "stable", "config": { diff --git a/wordpress-stubs.php b/wordpress-stubs.php index d48ca10..d2a3b08 100644 --- a/wordpress-stubs.php +++ b/wordpress-stubs.php @@ -89743,9 +89743,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.