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

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 24 01:18:01 UTC 2011


#8592: Private Pages not listed in the Parent dropdown
---------------------------------+-----------------------------
 Reporter:  mtdewvirus           |       Owner:  nacin
     Type:  defect (bug)         |      Status:  reviewing
 Priority:  normal               |   Milestone:  Future Release
Component:  Administration       |     Version:  2.7
 Severity:  major                |  Resolution:
 Keywords:  has-patch 3.2-early  |
---------------------------------+-----------------------------

Comment (by nacin):

 For issue 1, I forgot to cast. Thanks for the fix. Might still prefer my
 solution with a string cast, to avoid an unnecessary IN when you pass
 `array('publish')`. We're pretty lame at trying to use `=` where it can
 speed things up, though I'm also not sure how current versions of MySQL
 handle that optimization underneath.

 Same with issue 2, thanks. Issue 3: The change in wp_dropdown_pages() was
 indeed unnecessary, as the whole thing gets passed to get_pages(), but I
 think it's good to be explicit about what is accepted.

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


More information about the wp-trac mailing list