Opened 3 years ago
Last modified 3 years ago
#57314 reopened enhancement
Update all references to wp/v2 to namespace field in class-wp-rest-comments-controller.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Comments | Keywords: | has-patch |
| Focuses: | rest-api | Cc: |
Description
This is a very minor change to make it easier for other classes to extend this class and define their own namespace.
Change History (5)
This ticket was mentioned in PR #3736 on WordPress/wordpress-develop by @ihenetudan.
3 years ago
#1
- Keywords has-patch added
@ihenetudan commented on PR #3736:
3 years ago
#2
Noticed that there's just that one reference to wp/v2 when preparing links for comment authors. In every other case, the class namespace field is used. I suppose this shouldn't be a deal-breaker.
Note: See
TracTickets for help on using
tickets.
Fixes https://core.trac.wordpress.org/ticket/57314#ticket