Opened 11 years ago
Closed 11 years ago
#34541 closed defect (bug) (fixed)
Incorrect inline doc for filter `display_post_states`
| Reported by: | grapplerulrich | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Posts, Post Types | Version: | 4.4 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs, administration |
Description
The second parameter ($post) is type WP_Post, not int for the filter display_post_states. Also reported in the developer refernce https://developer.wordpress.org/reference/hooks/display_post_states/#comment-858
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch added :)