[wp-trac] Re: [WordPress Trac] #9559: Site search results can include passworded posts

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 18 23:37:54 GMT 2009


#9559: Site search results can include passworded posts
--------------------------+-------------------------------------------------
 Reporter:  coffee2code   |       Owner:  ShaneF   
     Type:  defect (bug)  |      Status:  assigned 
 Priority:  normal        |   Milestone:  2.8      
Component:  General       |     Version:  2.7.1    
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by ryan):

 There's no index on post_password, so this will likely seriously degrade
 query performance. I believe that's why it is not done now.  Maybe this is
 acceptable if done only for search requests.  Also, maybe we change from
 !is_admin to is_user_logged_in() so logged in users can still search from
 the front page.

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


More information about the wp-trac mailing list