Files
wordpress-develop/tests/phpunit/tests
John Blackbourn 729bb10f31 Posts, Post Types: Introduce new functions for determining if a post has a parent (has_post_parent()) and to fetch the post parent (get_post_parent()).
These functions are simple but reduce the logic needed in themes and plugins.

Props ramiy, sebastian.pisula, birgire, audrasjb, xkon

Fixes #33045


git-svn-id: https://develop.svn.wordpress.org/trunk@50127 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-01 21:20:44 +00:00
..
2021-01-21 01:35:16 +00:00
5.7-alpha-50000 🎉🙌❤️
2021-01-21 12:37:39 +00:00
2021-01-21 01:35:16 +00:00