[wp-trac] [WordPress Trac] #12133: get_field_id() and get_field_name() break when passed a name in array format
WordPress Trac
noreply at wordpress.org
Fri Oct 2 20:19:43 UTC 2015
#12133: get_field_id() and get_field_name() break when passed a name in array
format
--------------------------------------+-----------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.4
Component: Widgets | Version: 2.9.1
Severity: minor | Resolution:
Keywords: has-patch has-unit-tests | Focuses: administration
--------------------------------------+-----------------------------
Changes (by johnbillion):
* keywords: has-patch dev-feedback needs-testing => has-patch has-unit-
tests
* focuses: => administration
Comment:
Tested. Updating a widget's options that uses a field name with array
notation now works as expected.
Note that it doesn't make as much sense for the `get_field_id()` method to
support an array format name, but it works fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12133#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list