[wp-trac] [WordPress Trac] #48358: wp_get_post_parent_id() does not default to global $post

WordPress Trac noreply at wordpress.org
Sun Sep 19 20:59:56 UTC 2021


#48358: wp_get_post_parent_id() does not default to global $post
-------------------------------------------------+-------------------------
 Reporter:  danielpost                           |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.9
Component:  Posts, Post Types                    |     Version:  3.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note                                           |
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * keywords:  has-patch has-unit-tests needs-dev-note needs-refresh => has-
     patch has-unit-tests needs-dev-note


Comment:

 Refreshed in `48358.2.diff`. I also added the ticket number in the
 provided tests.

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


More information about the wp-trac mailing list