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

WordPress Trac noreply at wordpress.org
Wed Feb 17 22:40:59 UTC 2021


#33045: New conditional tags for child/parent pages
-------------------------------+--------------------------
 Reporter:  ramiy              |       Owner:  johnbillion
     Type:  enhancement        |      Status:  reopened
 Priority:  normal             |   Milestone:  5.7
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  2nd-opinion        |     Focuses:  template
-------------------------------+--------------------------

Comment (by lukecarbis):

 This is a really hard call, but I also like the consistency with the
 `post_parent` field. I'm on board with `get_post_parent()` and
 `has_post_parent()`.

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


More information about the wp-trac mailing list