[wp-trac] [WordPress Trac] #64291: REST API: null is accepted for every type
WordPress Trac
noreply at wordpress.org
Sun Nov 23 02:47:15 UTC 2025
#64291: REST API: null is accepted for every type
--------------------------+------------------------------
Reporter: brandonxlf | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Resolution: maybelater
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by brandonxlf):
* status: new => closed
* resolution: => maybelater
Comment:
After some further searching, [https://github.com/WordPress/wordpress-
develop/blob/539c2fc7b5f3ea5c7ba90e05320d8c38e0f0c89a/tests/phpunit/tests
/rest-api/rest-settings-controller.php#L692 this test] documents using
`null` as a way to reset a value. It seems reasonable to just update the
documentation for now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64291#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list