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

WordPress Trac noreply at wordpress.org
Sat Oct 19 17:35:24 UTC 2019


#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.4
Component:  Posts, Post Types                    |     Version:  3.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note                                           |
-------------------------------------------------+-------------------------

Comment (by danielpost):

 I'm happy to make those changes if the consensus is that they're
 necessary—I don't have enough experience with core contributing to make
 that call myself.

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


More information about the wp-trac mailing list