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

WordPress Trac noreply at wordpress.org
Fri Jan 15 17:50:27 UTC 2016


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

 * keywords:  has-patch => has-patch reporter-feedback 2nd-opinion
 * component:  General => Posts, Post Types


Comment:

 @ramiy What's the use case for filtering the return value of
 `get_parent()`?

 Also these functions need `post` in their name to avoid ambiguity. eg.
 `wp_get_post_parent()`.

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


More information about the wp-trac mailing list