Skip to content

Generate stubs for WordPress 6.8.1 #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-sodium": "*",
"johnpbloch/wordpress": "6.8.0"
"johnpbloch/wordpress": "6.8.1"
},
"minimum-stability": "stable",
"config": {
Expand Down
4 changes: 3 additions & 1 deletion wordpress-stubs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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
Expand Down