[wp-trac] [WordPress Trac] #42646: Customizer cropped images issue with flex-width=false and flex-height=false

WordPress Trac noreply at wordpress.org
Wed Jan 17 04:23:43 UTC 2018


#42646: Customizer cropped images issue with flex-width=false and flex-height=false
-------------------------------------------------+-------------------------
 Reporter:  WebTrooper                           |       Owner:
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  4.9.3
Component:  Customize                            |     Version:  4.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots needs-     |     Focuses:  javascript
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by WebTrooper):

 Please tell me if I'm doing this wrong.

 There is no /wp-includes/js/media/views/cropper.js file. In fact, there is
 no /wp-includes/js/media/ directory. However, the code and changes in
 42646.diff appear to be identical to that of /wp-includes/js/media-
 views.js, so that's where I made the changes.

 I commented out everything that is highlighted in red. I added everything
 that is highlighted in green.

 There is no difference -- I can still drag the crop handles "almost"
 anyway I please. The only exception is that I cannot drag the bottom crop
 handle downward to make a larger cropped area, which was the case before
 editing /wp-includes/js/media-views.js

 This is on a basic WP 4.9.2 install with Wordpress Beta Tester installed,
 set to Point Release, then ran Update.

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


More information about the wp-trac mailing list