[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:18:46 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 Denis-de-Bernardy):
right. and thus, it might make sense to do this instead:
{{{
where ( post_status = 'publish' or post_parent = $post->post_parent )
}}}
that way, the current behavior is kept around, without the bug you (or I)
bumped into.
alternatively, there is a function somewhere that might manages this in
the sense that it outputs the correct sql. not entirely sure of its name
though. it's likely used in wp-includes/query.php and other template
functions.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8592#comment:32>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list