[wp-trac] [WordPress Trac] #42797: Add missing parameter description in wp_get_post_parent_id function DocBlock

WordPress Trac noreply at wordpress.org
Fri Dec 15 01:02:26 UTC 2017


#42797: Add missing parameter description in wp_get_post_parent_id function
DocBlock
--------------------------------------+-----------------------------
 Reporter:  keesiemeijer              |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.0
Component:  Posts, Post Types         |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  docs
--------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"42398"]:
 {{{
 #!CommitTicketReference repository="" revision="42398"
 Posts: Rename `$ID` to `$post` in `get_post_mime_type()` and
 `get_post_status()` for consistency with other functions.

 See #42797.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42797#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list