[wp-trac] [WordPress Trac] #56493: REST API (settings): Switch to rest_default_additional_properties_to_false
WordPress Trac
noreply at wordpress.org
Sun Sep 11 23:28:53 UTC 2022
#56493: REST API (settings): Switch to rest_default_additional_properties_to_false
---------------------------+--------------------------------
Reporter: anna.bansaghi | Owner: TimothyBlynJacobs
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 6.0.2
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
---------------------------+--------------------------------
Changes (by TimothyBlynJacobs):
* owner: (none) => TimothyBlynJacobs
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"54131" 54131]:
{{{
#!CommitTicketReference repository="" revision="54131"
REST API: Add support for settings to specify their own
additionalProperties.
This switches the Settings Controller to use
`rest_default_additional_properties_to_false` and deprecates its own
method.
Props anna.bansaghi.
Fixes #56493.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56493#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list