Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#57314 reopened enhancement

Update all references to wp/v2 to namespace field in class-wp-rest-comments-controller.php

Reported by: ihenetudan Owned by:
Priority: normal Milestone: Awaiting Review
Component: Comments Version:
Severity: normal Keywords: has-patch
Cc: Focuses: rest-api

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.


4 years ago
#1

  • Keywords has-patch added

​@ihenetudan commented on ​PR #3736:


4 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.

#3 @ihenetudan
4 years ago

  • Resolution → worksforme
  • Status new → closed

#4 @knutsp
4 years ago

  • Resolution worksforme
  • Status closed → reopened

#5 @SergeyBiryukov
4 years ago

  • Component General → Comments
  • Focuses rest-api added
Note: See TracTickets for help on using tickets.