Make WordPress Core

Opened 22 months ago

Last modified 22 months ago

#57314 reopened enhancement

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

Reported by: ihenetudan's profile ihenetudan 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.


22 months ago
#1

  • Keywords has-patch added

@ihenetudan commented on PR #3736:


22 months 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
22 months ago

  • Resolution set to worksforme
  • Status changed from new to closed

#4 @knutsp
22 months ago

  • Resolution worksforme deleted
  • Status changed from closed to reopened

#5 @SergeyBiryukov
22 months ago

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