Opened 5 hours ago
Closed 5 hours ago
#66330 closed defect (bug) (fixed)
Connectors: Match the settings route the way the REST server does
| Reported by: | jorgefilipecosta | Owned by: | jorgefilipecosta |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
Change History (2)
This ticket was mentioned in PR #14360 on WordPress/wordpress-develop by @jorgefilipecosta.
5 hours ago
#1
- Keywords has-patch has-unit-tests added
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Follow-up to https://core.trac.wordpress.org/changeset/61749 and https://core.trac.wordpress.org/changeset/62684.
This PR matches the route in
_wp_connectors_rest_settings_dispatch()with the REST server's own pattern,@^/wp/v2/settings$@i, to fix possible inconsistencies with how the server matches routes.Testing
Verify unit tests are passing:
Use of AI Tools
AI assistance: Yes
Used for: drafting the fix, the tests and this description; reviewed and edited by me.