- Timestamp:
- 06/22/2020 05:24:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php
r47122 r48121 252 252 253 253 /* 254 * Whitelistthe supported types for settings, as we don't want invalid types254 * Allow the supported types for settings, as we don't want invalid types 255 255 * to be updated with arbitrary values that we can't do decent sanitizing for. 256 256 */ … … 305 305 * By default, the schema of settings will throw an error if a value is set to 306 306 * `null` as it's not a valid value for something like "type => string". We 307 * provide a wrapper sanitizer to whitelistthe use of `null`.307 * provide a wrapper sanitizer to allow the use of `null`. 308 308 * 309 309 * @since 4.7.0
Note: See TracChangeset
for help on using the changeset viewer.