Opened 9 years ago
Closed 9 years ago
#34416 closed defect (bug) (fixed)
Require the $namespace argument in register_rest_route()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | REST API | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Per discussion on Slack, we should return true
on success, and add a _doing_it_wrong()
and return false
if the $namespace
parameter is empty.
Attachments (2)
Change History (9)
This ticket was mentioned in Slack in #core-restapi by danielbachhuber. View the logs.
9 years ago
#3
@
9 years ago
- Keywords commit added
34416.2.diff refreshes the patch and changes the version to 4.4.0
This ticket was mentioned in Slack in #core by danielbachhuber. View the logs.
9 years ago
This ticket was mentioned in Slack in #core-restapi by rmccue. View the logs.
9 years ago
Note: See
TracTickets for help on using
tickets.
Is the
WPAPI-2.0
version intentional? Does it make sense to change that to 4.4? See also #34249