[wp-trac] Re: [WordPress Trac] #8592: Private Pages not listed in the Parent dropdown

WordPress Trac wp-trac at lists.automattic.com
Tue May 5 01:01:14 GMT 2009


#8592: Private Pages not listed in the Parent dropdown
----------------------------+-----------------------------------------------
 Reporter:  mtdewvirus      |       Owner:  anonymous     
     Type:  defect (bug)    |      Status:  new           
 Priority:  high            |   Milestone:  Future Release
Component:  Administration  |     Version:  2.7           
 Severity:  major           |    Keywords:  needs-patch   
----------------------------+-----------------------------------------------

Comment(by mtekk):

 Replying to [comment:30 Denis-de-Bernardy]:
 > Replying to [comment:28 mtekk]:
 > > With the patch I submitted...
 >
 > My only concern with it (and I take it the core devs will have the same)
 has to do with performance. Basically, if a user is admin, he should be
 able to view it all without any extra db check. Else, you're running a
 query with scores of OR clauses on the status, which is very slow.

 I agree with the idea. However, when I tried to implement it I think I ran
 into an issue. It has to do with who we actually want to be able to see
 what pages in the results from get_pages (in the admin dropdown or
 elsewhere).

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


More information about the wp-trac mailing list