[wp-trac] [WordPress Trac] #11697: Keep private posts in the admin area / Was: Make private posts a canonical plugin

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 15 22:10:42 UTC 2010


#11697: Keep private posts in the admin area / Was: Make private posts a canonical
plugin
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:                         
     Type:  defect (bug)       |      Status:  assigned               
 Priority:  normal             |   Milestone:  3.0                    
Component:  General            |     Version:  2.9                    
 Severity:  normal             |    Keywords:  has-patch needs-testing
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 #11914 is about three things: a missing index, doing 20 queries where a
 single one would fit. the private posts query additionally introduces an
 OR statement in the query.

 you're reading right: the proper fix would be to deal with the first two
 points.

 if we don't, however, another potential fix would be to drop the OR
 statement, so as to use the type_status_date index.

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


More information about the wp-trac mailing list