[wp-trac] [WordPress Trac] #30292: Stop get_post() overwriting non-WP_Post objects passed as first parameter

WordPress Trac noreply at wordpress.org
Thu Oct 15 21:02:04 UTC 2015


#30292: Stop get_post() overwriting non-WP_Post objects passed as first parameter
------------------------------------------------+--------------------------
 Reporter:  MikeSchinkel                        |       Owner:
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Posts, Post Types                   |  Review
 Severity:  normal                              |     Version:  3.5
 Keywords:  has-patch dev-feedback 2nd-opinion  |  Resolution:
                                                |     Focuses:
------------------------------------------------+--------------------------

Comment (by sc0ttkclark):

 While this patch could allow for circumventing of the getting of the post
 before it starts, there's another ticket #12955 which at minimum could
 provide the ability to filter the end result, which may be more useful for
 more developers. Wanted to mention it on this ticket as they can actually
 help to accomplish the same thing.

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


More information about the wp-trac mailing list