[wp-trac] [WordPress Trac] #40641: Media upload Select Files button not working - Chrome privacy setting

WordPress Trac noreply at wordpress.org
Wed May 10 23:37:18 UTC 2017


#40641: Media upload Select Files button not working - Chrome privacy setting
---------------------------+------------------------------
 Reporter:  the_webscaper  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Media          |     Version:  4.7.4
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by programmin):

 Same thing here with Chrome 59.0.3071.36 (Official Build) beta and
 previous Chrome versions. I have seen this on several sites and haven't
 tracked down what the root cause is, practically identical sites will be
 fine.

 '''What I have tried'''

 ''Debug mode'' - even with Wordpress not combining everything it happens.
 {{{
 define('CONCATENATE_SCRIPTS', false);
 define('SCRIPT_DEBUG',true);
 define('COMPRESS_SCRIPTS', false);
 }}}
 ''
 JS timeline:'' it looks like similar routines are running on working and
 nonworking site when clicked.

 It seems the command below (which plupload seems to be calling) ''does''
 work in sites where it does work, and ''doesn't'' in cases where the media
 modal popup is broken and ''only'' the /wp-admin/media-new.php page select
 files button works.

 {{{
 document.getElementById('__wp-uploader-id-1').click()
 }}}

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


More information about the wp-trac mailing list