Opened 7 years ago
Closed 7 years ago
#43541 closed defect (bug) (invalid)
medium_large height set to 0
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.9.4 |
Component: | Media | Keywords: | |
Focuses: | administration, template | Cc: |
Description
wp-admin/includes/schema.php
line 525
Shouldn't it be non zero?
Change History (1)
Note: See
TracTickets for help on using
tickets.
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.