Make WordPress Core

Opened 17 months ago

Last modified 17 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:


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.

17 months ago

  • Keywords has-patch added

@ihenetudan commented on PR #3736:

17 months ago

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

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

#4 @knutsp
17 months ago

  • Resolution worksforme deleted
  • Status changed from closed to reopened

#5 @SergeyBiryukov
17 months ago

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