[wp-trac] [WordPress Trac] #51782: Required in REST API register_rest_route args should check for empty string
WordPress Trac
noreply at wordpress.org
Mon Nov 16 04:30:45 UTC 2020
#51782: Required in REST API register_rest_route args should check for empty string
--------------------------+-------------------------
Reporter: khr2003 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: REST API | Version: 4.7
Severity: normal | Resolution: worksforme
Keywords: needs-patch | Focuses: rest-api
--------------------------+-------------------------
Comment (by khr2003):
@TimothyBlynJacobs Thanks, your suggestion worked.
I might add it to [https://developer.wordpress.org/rest-api/extending-the-
rest-api/adding-custom-endpoints/#arguments documentation] to avoid
confusion.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51782#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list