[wp-trac] [WordPress Trac] #29856: Setting default quality doesn't always work

WordPress Trac noreply at wordpress.org
Thu Nov 6 09:32:04 UTC 2014


#29856: Setting default quality doesn't always work
-----------------------------------------+-----------------------------
 Reporter:  markoheijnen                 |       Owner:  SergeyBiryukov
     Type:  defect (bug)                 |      Status:  reopened
 Priority:  normal                       |   Milestone:  4.0.1
Component:  Media                        |     Version:  4.0
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+-----------------------------
Changes (by markoheijnen):

 * keywords:  has-patch dev-feedback => has-patch reporter-feedback


Comment:

 I added an additional patch that moves all the logic from get_quality() to
 set_quality(). This way the filters will run always.
 So as a developer I expect that calling set_quality() will always go to
 the default value which I can filter with 'wp_editor_set_quality'.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29856#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list