[wp-trac] [WordPress Trac] #34541: Incorrect inline doc for filter `display_post_states`

WordPress Trac noreply at wordpress.org
Sun Nov 1 09:31:14 UTC 2015


#34541: Incorrect inline doc for filter `display_post_states`
----------------------------+-----------------------------
 Reporter:  grapplerulrich  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  docs            |
----------------------------+-----------------------------
 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

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34541>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list