[wp-trac] [WordPress Trac] #43541: medium_large height set to 0

WordPress Trac noreply at wordpress.org
Wed Mar 14 04:18:49 UTC 2018


#43541: medium_large height set to 0
--------------------------+---------------------------------------
 Reporter:  lukeflego     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:  4.9.4
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:  administration, template
--------------------------+---------------------------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 https://core.trac.wordpress.org/browser/trunk/src/wp-
 admin/includes/schema.php#L525

 Hi @lukeflego and welcome to Trac.

 This is intentional, as only the width or height needs to be specified
 (the width is set to 768 by default).
 The behaviour is to scale to which ever option is present, so if it's only
 got width set (as by default) then it'll scale to any height, but in
 proportion to it's width at a maximum of 768px.

 If you're seeing some other unexpected behaviour which you're thinking is
 caused by this, including the context for future reports would be
 appreciated.

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


More information about the wp-trac mailing list