[wp-trac] [WordPress Trac] #22448: Changeset 22011 corrupts the effect of the the_posts filters

WordPress Trac noreply at wordpress.org
Wed Nov 14 21:47:36 UTC 2012


#22448: Changeset 22011 corrupts the effect of the the_posts filters
-------------------------------+------------------------------
 Reporter:  ntm                |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Query              |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by Viper007Bond):

 Modifying the post object also won't play nice with caching. We ran into
 this issue a lot with WordPress.com VIP code once we merged `WP_Post` into
 WP.com. We came to the conclusion that modifying the post object to add
 additional fields wasn't a good idea (and that's probably correct) however
 it's certainly a regression of sorts.

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


More information about the wp-trac mailing list