Opened 5 years ago
Last modified 2 years ago
#37882 new defect (bug)
Typo in the tests/qunit/wp-admin/js/customize-header.js
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Customize | Keywords: | has-patch dev-feedback |
Focuses: | Cc: |
Description ¶
Fix test header in the 'Custom Header: HeaderImage shouldBeCropped()' module
Pull Requests (0)
- To link a Pull Request to this ticket, create a new Pull Request in the WordPress GitHub mirror and include this ticket’s URL in the description.
Change History (7)
#2
in reply to:
↑ 1
@
5 years ago
@westonruter we only need the imageWidth to be greater than the themeWidth. Please see the new path
#4
@ Core Committer
5 years ago
I'm afraid that I'm not familiar enough with the tests here to judge whether or not the changes are correct.
@ericlewis are you more familiar with these?
Note: See
TracTickets for help on using
tickets.
@tymvie thanks for the patch. Are you sure it is just the width or should it be width and height?
I see in the module it has:
And this test specifically has:
So note that the width and height are larger than their respective theme dimensions.