[wp-trac] [WordPress Trac] #22162: WP_Query must convert posts to WP_Post objects after filters are run

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 12 18:06:46 UTC 2012


#22162: WP_Query must convert posts to WP_Post objects after filters are run
--------------------------+--------------------
 Reporter:  nacin         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Query         |     Version:  trunk
 Severity:  critical      |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by ryan):

 nacin mentioned that we should probably wrap the_preview in get_post().

 We also talked briefly about posts_results and whether there should be a
 re-map after it as well. Decided to skip that until we see problems with
 it in the wild.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22162#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list