[wp-trac] [WordPress Trac] #36318: Twenty Fifteen: Custom logo can be distorted unexpectedly
WordPress Trac
noreply at wordpress.org
Thu Mar 24 21:17:48 UTC 2016
#36318: Twenty Fifteen: Custom logo can be distorted unexpectedly
--------------------------+--------------------
Reporter: iamtakashi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Customize | Version: trunk
Severity: major | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+--------------------
Comment (by celloexpressions):
Yeah looking more closely, I think the logic in [37042] is wrong.
`dst_height` and `dst_width` need to be set regardless of the flexibility.
We should add an else statement for each that proportionally sets those
values based on the cropped aspect ratio, because otherwise the original
value is used.
The maximum allowed width issue is likely cause by something else in
there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36318#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list