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

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 19 18:00:46 UTC 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.9           
 Severity:  major           |    Keywords:  needs-patch   
----------------------------+-----------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  has-patch tested => needs-patch


Comment:

 patch potentially introduces loads of bugs:

  - the check on is_admin() seems kind of weird.
  - $author_query is pointless if the author can view private pages and/or
 edit others' page
  - I'm pretty sure the current parent needs to be passed to the query.
 (haven't tested, but if a non-privileged author creates a page whose
 parent is owned by someone else and becomes private or pending, what
 happens when he edits it?)

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


More information about the wp-trac mailing list