[wp-trac] Re: [WordPress Trac] #8592: Private Pages not listed in
the Parent dropdown
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 3 22:13:30 GMT 2009
#8592: Private Pages not listed in the Parent dropdown
----------------------------------+-----------------------------------------
Reporter: mtdewvirus | Owner: anonymous
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.8
Component: Administration | Version: 2.7
Severity: major | Resolution:
Keywords: parent, pages, child |
----------------------------------+-----------------------------------------
Comment (by PeteHoliday):
parent_dropdown is not the function responsible for that particular
dropdown.
The one you're looking for is wp_dropdown_pages, which is defined in wp-
includes/post-template.php. That is just a wrapper for get_pages(),
however, which is defined in /wp-includes/post.php.
That function should probably include logic to display private pages for
admins and, ideally, running the query through a pages_where filter
similar to the one used for posts.
--
Ticket URL: <http://trac.wordpress.org/ticket/8592#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list