#34768 closed enhancement (fixed)
Mark WP_REST_Server::get_raw_data as static
| Reported by: | rmccue | Owned by: | rmccue |
|---|---|---|---|
| Priority: | low | Milestone: | 4.4 |
| Component: | REST API | Version: | |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
This isn't linked to any state in the server instance, and would be handy to use outside of the server class (such as in authentication).
This doesn't break BC (as you can call static methods via $this->method fine), but it's also not technically a bug, so potentially too late for 4.4.
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
As per https://wordpress.slack.com/archives/core/p1448251995001841, this can be added before RC.