WordPress.org

Make WordPress Core

Opened 2 months ago

#43847 new enhancement

Cleaned "handle_featured_media" method of "WP_REST_Posts_Controller" class.

Reported by: rnaby Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: REST API Keywords: has-patch needs-testing
Focuses: Cc:

Description

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 2 months ago.
The patch for the enhancement.

Download all attachments as: .zip

Change History (1)

@rnaby
2 months ago

The patch for the enhancement.

Note: See TracTickets for help on using tickets.