Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#34541 closed defect (bug) (fixed)

Incorrect inline doc for filter `display_post_states`

Reported by: grapplerulrich's profile grapplerulrich Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.4 Priority: normal
Severity: normal Version: 4.4
Component: Posts, Post Types Keywords: has-patch
Focuses: docs, administration Cc:


The second parameter ($post) is type WP_Post, not int for the filter display_post_states. Also reported in the developer refernce

Attachments (1)

34541.patch (614 bytes) - added by grapplerulrich 9 years ago.

Download all attachments as: .zip

Change History (4)

#1 @grapplerulrich
9 years ago

  • Keywords has-patch added

Patch added :)

#2 @SergeyBiryukov
9 years ago

  • Component changed from General to Posts, Post Types
  • Focuses administration added
  • Milestone changed from Awaiting Review to 4.4

#3 @SergeyBiryukov
9 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 35484:

Docs: Correct $post parameter description for display_post_states filter.

Props grapplerulrich.
Fixes #34541.

Note: See TracTickets for help on using tickets.