[wp-trac] [WordPress Trac] #33045: New conditional tags for child/parent pages
WordPress Trac
noreply at wordpress.org
Sat Feb 20 17:44:10 UTC 2021
#33045: New conditional tags for child/parent pages
---------------------------------------------+--------------------------
Reporter: ramiy | Owner: johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.7
Component: Posts, Post Types | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: template
---------------------------------------------+--------------------------
Changes (by johnbillion):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"50396" 50396]:
{{{
#!CommitTicketReference repository="" revision="50396"
Posts, Post Types: Rename the new post parent conditional tag functions
for clarity.
* `get_parent_post()` becomes `get_post_parent()`
* `has_parent_post()` becomes `has_post_parent()`
Props johnjamesjacoby, SergeyBiryukov, lukecarbis, peterwilsoncc
Fixes #33045
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33045#comment:54>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list