[wp-trac] [WordPress Trac] #34196: Add image size between Medium and Large to better take advantage of Responsive Image support

WordPress Trac noreply at wordpress.org
Sat Oct 31 01:12:54 UTC 2015


#34196: Add image size between Medium and Large to better take advantage of
Responsive Image support
------------------------------+--------------------------
 Reporter:  DH-Shredder       |       Owner:  DH-Shredder
     Type:  task (blessed)    |      Status:  assigned
 Priority:  normal            |   Milestone:  4.4
Component:  Media             |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------

Comment (by azaozz):

 The patch looks good. Refreshed it a bit after r35464 in 34196.1.patch.

 One question: as far as I understand we want the new `medium_large` size
 to be constant. There is no UI to change it like the other default sizes,
 and there is no UI to insert it in the editor. However we still store it
 in the options table, so any plugin or theme can change it or even remove
 it.

 Wouldn't it be better to "hard-code" it in some way? Maybe in a (private)
 function that will return all default image sizes (and could be used to
 reset the users changes to the other default sizes)?

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


More information about the wp-trac mailing list