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

WordPress Trac noreply at wordpress.org
Sat Feb 20 17:32:23 UTC 2021


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

 * keywords:  2nd-opinion has-patch has-unit-tests => has-patch has-unit-
     tests commit
 * status:  reopened => reviewing


Comment:

 Checking the plugin and theme directories:

 * ✅ `get_post_parent` for plugins
 [https://wpdirectory.net/search/01EZ07Q7YQFBCWZTKJXDFHZTNZ ref]
   - Four matches, all four are class methods
 * ✅ `get_post_parent` for themes
 [https://wpdirectory.net/search/01EZ07THJ4MNMKRS0Q31ZMC3T2 ref]
   - No matches
 * ✅ `has_post_parent` for plugins
 [https://wpdirectory.net/search/01EZ07XPX0KGMD54RTQ95K5HWR ref]
   - No matches
 * ✅ `has_post_parent` for themes
 [https://wpdirectory.net/search/01EZ07YG8G4RAG9W6ZWXKCQP07 ref]
   - No matches

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


More information about the wp-trac mailing list