[wp-trac] [WordPress Trac] #17026: parent_dropdown() is not filterable

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 7 15:37:16 UTC 2011


#17026: parent_dropdown() is not filterable
-------------------------+------------------------------
 Reporter:  kevinB       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Query        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------
Changes (by kevinB):

 * cc: kevin@… (added)
 * keywords:  has-patch close => has-patch


Comment:

 Replying to [comment:1 scribu]:
 > -1. We should instead make parent_dropdown() use get_posts() instead.
 >
 > This would require that the 'fields' query var (#14777) accept an array
 and not just 'all' or 'ids'.
 >
 Is there enough consensus on that idea to make such a patch likely to
 succeed?

 Some other get_posts() conversion candidates (#17022, #17023, #17025)
 require DISTINCT or GROUP BY clauses.  Are those also fair game to pass as
 get_posts() args?

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


More information about the wp-trac mailing list