[wp-trac] [WordPress Trac] #8592: Private Pages not listed in the Parent dropdown
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 6 11:09:02 UTC 2010
#8592: Private Pages not listed in the Parent dropdown
----------------------------+-----------------------------------------------
Reporter: mtdewvirus | Owner: bsamrajni
Type: defect (bug) | Status: assigned
Priority: high | Milestone: 3.0
Component: Administration | Version: 2.9
Severity: major | Keywords: has-patch featured
----------------------------+-----------------------------------------------
Changes (by bsamrajni):
* cc: bsamrajni (added)
* keywords: needs-patch featured => has-patch featured
Comment:
I have tried fixing this bug.
Now I'm able to get drafts ang private pages in the dropdown.
All I did was a change in a query in post.php
$query = "SELECT * FROM $wpdb->posts $join WHERE (post_type = 'page' AND
(post_status = 'publish' OR post_status = 'draft')) $where ";
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8592#comment:77>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list