Opened 11 years ago
Closed 11 years ago
#34416 closed defect (bug) (fixed)
Require the $namespace argument in register_rest_route()
| Reported by: | danielbachhuber | Owned by: | rmccue |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | REST API | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
11 years ago
#3
@
11 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.
11 years ago
This ticket was mentioned in Slack in #core-restapi by rmccue. View the logs.
11 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Is the
WPAPI-2.0version intentional? Does it make sense to change that to 4.4? See also #34249