diff --git a/source/composer.json b/source/composer.json index 5848273..ee83c73 100644 --- a/source/composer.json +++ b/source/composer.json @@ -7,7 +7,7 @@ "ext-mbstring": "*", "ext-openssl": "*", "ext-sodium": "*", - "johnpbloch/wordpress": "6.8.0" + "johnpbloch/wordpress": "6.8.1" }, "minimum-stability": "stable", "config": { diff --git a/wordpress-stubs.php b/wordpress-stubs.php index a4d3cca..39522cf 100644 --- a/wordpress-stubs.php +++ b/wordpress-stubs.php @@ -818,6 +818,7 @@ public function run($options) * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. * * @param bool $enable True to enable maintenance mode, false to disable. + * @phpstan-return void */ public function maintenance_mode($enable = \false) { @@ -92849,7 +92850,8 @@ function wp_admin_bar_site_menu($wp_admin_bar) * @since 5.9.0 * @since 6.3.0 Added `$_wp_current_template_id` global for editing of current template directly from the admin bar. * @since 6.6.0 Added the `canvas` query arg to the Site Editor link. - * @since 6.8.0 Removed the query args to ensure that the link opens the starting screen of the Site Editor. + * + * @global string $_wp_current_template_id * * @param WP_Admin_Bar $wp_admin_bar The WP_Admin_Bar instance. * @phpstan-return void