WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 7 months ago

#28277 new enhancement

Add ability to apply image edits to custom image sizes

Reported by: silb3r Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.0
Component: Media Keywords: has-patch needs-refresh
Focuses: administration Cc:

Description

This patch allows developers to add custom image sizes to the "Edit Image" -> "Apply changes to:" setting so that image edits may be set to only affect a custom image size.

This can now be accomplished using the 'edit_custom_thumbnail_sizes' filter and passing it an array of 'Label' => 'size' elements.

And this is my first contribution so please go easy on me (administratively speaking)!

Attachments (1)

image-edit.diff (2.0 KB) - added by silb3r 3 years ago.
Add ability to apply image edits to custom image sizes only

Download all attachments as: .zip

Change History (6)

@silb3r
3 years ago

Add ability to apply image edits to custom image sizes only

This ticket was mentioned in IRC in #wordpress-dev by gordian. View the logs.


3 years ago

#2 @SergeyBiryukov
3 years ago

#22990 was marked as a duplicate.

#3 @wonderboymusic
3 years ago

  • Milestone changed from Awaiting Review to Future Release

#4 @chriscct7
23 months ago

  • Keywords has-patch needs-refresh added

#5 @WraithKenny
7 months ago

This would certainly fill a hole in the incomplete edit feature.

Note: See TracTickets for help on using tickets.