#38429 closed enhancement (fixed)
Add a constructor to WP_REST_Settings_Controller
| Reported by: | Soean | Owned by: | rachelbaker |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7 |
| Component: | REST API | Version: | 4.7 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
The classWP_REST_Settings_Controller overrides the properties namespace and rest_base.
Instead, the properties should be set by a constructor.
Attachments (2)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Adds a constructor to
WP_REST_Settings_Controller.