#56493 closed enhancement (fixed)
REST API (settings): Switch to rest_default_additional_properties_to_false
Reported by: | anna.bansaghi | Owned by: | TimothyBlynJacobs |
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | REST API | Keywords: | has-patch |
Focuses: | Cc: |
Description
Switch to rest_default_additional_properties_to_false()
function, and deprecate the WP_REST_Settings_Controller::set_additional_properties_to_false()
method.
Similar changeset: #49308
Change History (6)
This ticket was mentioned in PR #3169 on WordPress/wordpress-develop by annaghi.
2 years ago
#1
#2
@
2 years ago
- Owner set to TimothyBlynJacobs
- Resolution set to fixed
- Status changed from new to closed
In 54131:
TimothyBJacobs commented on PR #3169:
2 years ago
#4
Committed in b80ba269f6cf0b0600be49b89b9a926421af88ee.
Note: See
TracTickets for help on using
tickets.
This PR:
rest_default_additional_properties_to_false()
functionWP_REST_Settings_Controller::set_additional_properties_to_false()
method.Trac ticket: https://core.trac.wordpress.org/ticket/56493#ticket