Skip to content

Generate stubs for WordPress 7.1.2 - #492

Merged
szepeviktor merged 3 commits into
php-stubs:masterfrom
IanDelMar:wp712
Oct 6, 2026
Merged

szepeviktor merged 3 commits into
php-stubs:masterfrom
IanDelMar:wp712

Conversation

@IanDelMar

Copy link
Copy Markdown
Contributor

Generates stubs for WordPress 7.1.2 and removes WP_Widget_Factory::$widgets from the function map as its type is now correctly documented in core (key type changes from int to non-decimal-int-string).

@IanDelMar

Copy link
Copy Markdown
Contributor Author

The test failure is not related to this PR. #493 fixes the conditional return type for absint().

@szepeviktor

Copy link
Copy Markdown
Member

All right. I hope it won't blow up the internet.

@szepeviktor
szepeviktor merged commit a6720a2 into php-stubs:master Oct 6, 2026
1 of 8 checks passed
@IanDelMar
IanDelMar deleted the wp712 branch October 6, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants