[wp-trac] [WordPress Trac] #19643: Allow array for $extra_fields in request_filesystem_credentials
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 22 15:48:59 UTC 2011
#19643: Allow array for $extra_fields in request_filesystem_credentials
-------------------------------------+------------------------------
Reporter: griffinjt | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------------------
Comment (by GaryJ):
Instead of doing an `is_array()` check and duplicating the echo line, why
not cast `$_POST['field']` to an array and just have the `foreach`?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19643#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list