-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Bad types into WP_Post class #170
Comments
Hi @FlorientR 👋🏻 WP core stubs are automatically generated. We have no mechanism to fix individual property types. |
These are indeed numeric strings, as mentioned in the inline doc right above the type. |
😲
|
It's just occurred to me that the default value is the incorrect type: public $post_author = 0; I'll have a dig around in WordPress core and see if this can be fixed. |
Hi !
There are two bad copy/paste into WP_Post class :
For this two properties, the
@var
should beint
Thanks a lot !
Flo
The text was updated successfully, but these errors were encountered: