[wp-trac] [WordPress Trac] #29856: Setting default quality doesn't always work
WordPress Trac
noreply at wordpress.org
Mon Dec 8 16:18:44 UTC 2014
#29856: Setting default quality doesn't always work
-----------------------------------------+-----------------------------
Reporter: markoheijnen | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1
Component: Media | Version: 4.0
Severity: normal | Resolution: fixed
Keywords: has-patch reporter-feedback | Focuses:
-----------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"30788"]:
{{{
#!CommitTicketReference repository="" revision="30788"
Move the logic from WP_Image_Editor::get_quality() to
WP_Image_Editor::set_quality(), so that 'wp_editor_set_quality' and
'jpeg_quality' filters run when setting the default value.
props markoheijnen.
fixes #29856.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29856#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list