[wp-trac] [WordPress Trac] #33045: New conditional tags for child/parent pages

WordPress Trac noreply at wordpress.org
Tue Jan 12 22:11:16 UTC 2021


#33045: New conditional tags for child/parent pages
-----------------------------------+-----------------------
 Reporter:  ramiy                  |       Owner:  audrasjb
     Type:  enhancement            |      Status:  accepted
 Priority:  normal                 |   Milestone:  5.7
Component:  Posts, Post Types      |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  template
-----------------------------------+-----------------------
Changes (by audrasjb):

 * keywords:  has-patch needs-testing dev-feedback => has-patch 2nd-opinion
 * status:  reviewing => accepted


Comment:

 Hi there,

 `33045.7.diff` is a new iteration for this ticket:
 - `@since` docs update
 - `get_post_parent()` now returns parent post **object**
 - few DocBlock enhancements

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


More information about the wp-trac mailing list