Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#43847 closed enhancement (wontfix)

Cleaned "handle_featured_media" method of "WP_REST_Posts_Controller" class.

Reported by: rnaby's profile rnaby Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: REST API Keywords: has-patch needs-testing
Focuses: Cc:


Cleaned handle_featured_media method of WP_REST_Posts_Controller class. I think this is more cleaner approach.

Attachments (1)

43847.diff (940 bytes) - added by rnaby 6 years ago.
The patch for the enhancement.

Download all attachments as: .zip

Change History (3)

6 years ago

The patch for the enhancement.

#1 @pento
6 years ago

  • Version trunk deleted

#2 @TimothyBlynJacobs
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Hi @rnaby,

Thank you for taking the time to work on a patch! Typically refactoring patches don't get accepted. In this case, I also don't think that the updated version is substantially more clean than the current version. So I'm going to close this ticket for now.

Note: See TracTickets for help on using tickets.