Skip to content

Commit 92e4448

Browse files
authored
Generate stubs for WordPress 6.8.1 (#288)
1 parent 7b5e911 commit 92e4448

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

source/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"ext-mbstring": "*",
88
"ext-openssl": "*",
99
"ext-sodium": "*",
10-
"johnpbloch/wordpress": "6.8.0"
10+
"johnpbloch/wordpress": "6.8.1"
1111
},
1212
"minimum-stability": "stable",
1313
"config": {

wordpress-stubs.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@ public function run($options)
818818
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
819819
*
820820
* @param bool $enable True to enable maintenance mode, false to disable.
821+
* @phpstan-return void
821822
*/
822823
public function maintenance_mode($enable = \false)
823824
{
@@ -92849,7 +92850,8 @@ function wp_admin_bar_site_menu($wp_admin_bar)
9284992850
* @since 5.9.0
9285092851
* @since 6.3.0 Added `$_wp_current_template_id` global for editing of current template directly from the admin bar.
9285192852
* @since 6.6.0 Added the `canvas` query arg to the Site Editor link.
92852-
* @since 6.8.0 Removed the query args to ensure that the link opens the starting screen of the Site Editor.
92853+
*
92854+
* @global string $_wp_current_template_id
9285392855
*
9285492856
* @param WP_Admin_Bar $wp_admin_bar The WP_Admin_Bar instance.
9285592857
* @phpstan-return void

0 commit comments

Comments
 (0)