[wp-trac] [WordPress Trac] #10972: Improve sanitize_post() calling

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 18 22:05:16 UTC 2009


#10972: Improve sanitize_post() calling
-------------------------+--------------------------------------------------
 Reporter:  johanee      |       Owner:           
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.9      
Component:  Performance  |     Version:  2.9      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------

Comment(by ryan):

 Perhaps we can move the loop from _sanitize_the_posts() directly into
 WP_Query::get_posts(). That way it is run even if filters are suppressed
 and we avoid the pass by value overhead incurred by anything attached to a
 filter.

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


More information about the wp-trac mailing list