[wp-trac] [WordPress Trac] #27620: Customizer background image drop zone text glitch

WordPress Trac noreply at wordpress.org
Wed Apr 2 21:47:50 UTC 2014


#27620: Customizer background image drop zone text glitch
--------------------------+------------------------
 Reporter:  astralbodies  |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  3.9
Component:  Appearance    |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui
--------------------------+------------------------

Comment (by adamsilverstein):

 Replying to [comment:7 ocean90]:
 > Replying to [comment:6 rachelbaker]:
 > > Thank you for testing this.  `this.supports.dragdrop` wasn't being set
 properly.  Happy to go back and try to debug why that was the case.
 >
 > this.uploader.bind( 'init', function( uploader ) { .. } in wp-upload.js
 runs after this.uploader.init() in customize-controls.js. Because of this
 `this.supports.dragdrop` is undefined.

 that makes sense. i see the set call `dragdrop = self.supports.dragdrop =
 uploader.features.dragdrop && ! Uploader.browser.mobile;`

 what i'm still unclear on is where `uploader.features.dragdrop` is set - I
 couldn't find that in JS or on the PHP side where the options are passed.
 I'm likely missing something, is it being set?

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


More information about the wp-trac mailing list