[wp-trac] [WordPress Trac] #22448: WP_Post conversion overwrites object changes on the_posts filter

WordPress Trac noreply at wordpress.org
Fri Nov 16 14:41:40 UTC 2012


#22448: WP_Post conversion overwrites object changes on the_posts filter
-------------------------------------------------+-------------------------
 Reporter:  ntm                                  |       Owner:  ryan
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  high                                 |   Milestone:  3.5
Component:  Query                                |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  needs-unit-tests has-patch needs-    |
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by ryan):

 Moved to elseif to avoid the empty check after hitting the DB. Removed
 wp_cache_set() since we try to avoid using it (we always try to add
 instead).

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


More information about the wp-trac mailing list