[wp-trac] [WordPress Trac] #25329: selected function is not supporting the multiselect dropdown
WordPress Trac
noreply at wordpress.org
Mon Sep 16 09:41:50 UTC 2013
#25329: selected function is not supporting the multiselect dropdown
-----------------------------+-----------------------------
Reporter: gchokeen | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.6.1
Severity: normal | Keywords:
-----------------------------+-----------------------------
Hi,
While I working with multiselect dropdown box, I realized
[selected][http://codex.wordpress.org/Function_Reference/selected]
function is not supporting the multi select value. For example if selected
function is not compatible to handle the array values.
I think we need to use in_array in the function to resolve this trouble.
{{{
selected('1',array('1','3'));
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25329>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list