Opened 9 years ago
Closed 9 years ago
#34541 closed defect (bug) (fixed)
Incorrect inline doc for filter `display_post_states`
Reported by: | grapplerulrich | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | docs, administration | Cc: |
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.
Patch added :)