[wp-trac] [WordPress Trac] #42875: Registering an "array" setting for the REST API causes a "Undefined index: items" warning
WordPress Trac
noreply at wordpress.org
Fri Jan 3 18:08:34 UTC 2020
#42875: Registering an "array" setting for the REST API causes a "Undefined index:
items" warning
--------------------------------------+--------------------------------
Reporter: perrywagle | Owner: TimothyBlynJacobs
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.4
Component: REST API | Version: 4.9
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: docs
--------------------------------------+--------------------------------
Comment (by kadamwhite):
We say "meta" when we mean setting, in one comment on the latest patch;
and for clarity it might be good to have a test that explicitly asserts we
DON'T get a doing_it_wrong when we DO provide the items schema, though
that may be covered implicitly by the other tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42875#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list