[wp-trac] [WordPress Trac] #18536: Improve performance of WP_Query core

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 19 00:27:03 UTC 2012


#18536: Improve performance of WP_Query core
-----------------------------+--------------------
 Reporter:  cheald           |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  3.4
Component:  Performance      |     Version:  3.2.1
 Severity:  normal           |  Resolution:
 Keywords:  early has-patch  |
-----------------------------+--------------------

Comment (by scribu):

 I also noticed an inconsistency:

 On the one hand, we have this in get_post():

 {{{
 if ($filter != 'raw')
         $_post = sanitize_post($_post, $filter);
 }}}

 On the other, we call {{{sanitize_post( $post, 'raw' ) }}} in WP_Query.

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


More information about the wp-trac mailing list