[wp-trac] [WordPress Trac] #15523: wp_dropdown_pages() should be able to generate a multi-select (was: wp_dropdown_pages())
WordPress Trac
wp-trac at lists.automattic.com
Sun Jan 16 05:22:41 UTC 2011
#15523: wp_dropdown_pages() should be able to generate a multi-select
-----------------------------+-----------------------------
Reporter: christian_gnoth | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: General | Version: 3.0.1
Severity: minor | Resolution:
Keywords: needs-patch |
-----------------------------+-----------------------------
Changes (by mdawaffe):
* keywords: has-patch needs-testing => needs-patch
* milestone: Awaiting Review => Future Release
Comment:
Looks reasonable. No need to escape quotes: {{{\"}}}. Just nest with the
opposite quote style.
Should {{{selected}}} accept an array/csv of IDs?
PS: Can we add the args to the filter? Seems pretty useless without it.
{{{
apply_filters( 'wp_dropdown_pages', $output, $r );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15523#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list