[wp-trac] [WordPress Trac] #48560: Missing *_size_w and *_size_h options for new image sizes

WordPress Trac noreply at wordpress.org
Mon Nov 11 22:23:46 UTC 2019


#48560: Missing *_size_w and *_size_h options for new image sizes
-------------------------+-------------------------
 Reporter:  vanyukov     |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Media        |     Version:
 Severity:  minor        |  Resolution:  worksforme
 Keywords:               |     Focuses:
-------------------------+-------------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  5.3.1 =>


Comment:

 This is an intended change, see
 https://core.trac.wordpress.org/ticket/43524#comment:25. Generally modern
 image handling depends on having consistent sub-sizes available. Letting
 the users (or themes and plugins) change these sizes permanently in not
 intended, hence the size "names" are also a representation of the actual
 sizes.

 Actually was looking in removing the current settings from the options
 (when they are left at default values) and perhaps introducing a way for
 the users to add a "custom image size", although having that still doesn't
 make much sense. Image sources are handled automatically by the browsers,
 having some non-standard sources doesn't seems to improve anything there.

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


More information about the wp-trac mailing list