[wp-trac] [WordPress Trac] #48071: Can't install plugins on trunk due to 'Cannot read property speak of undefined'

WordPress Trac noreply at wordpress.org
Thu Sep 19 07:44:50 UTC 2019


#48071: Can't install plugins on trunk due to 'Cannot read property speak of
undefined'
---------------------------------------+-----------------------------
 Reporter:  garrett-eclipse            |      Owner:  (none)
     Type:  defect (bug)               |     Status:  new
 Priority:  normal                     |  Milestone:  Awaiting Review
Component:  Upgrade/Install            |    Version:  trunk
 Severity:  normal                     |   Keywords:
  Focuses:  accessibility, javascript  |
---------------------------------------+-----------------------------
 Hello,

 On a clean install of trunk I'm no longer able to install plugins due to
 a11y speak property not defined.

 The error is related to this line;
 https://github.com/WordPress/wordpress-
 develop/blob/c957e2573e7911c772ec85eb9f339ee34a9fd470/src/js/_enqueues/wp/updates.js#L563
 *But I assume affects all speak commands in the script.

 Error in js console;
 {{{
 Uncaught TypeError: Cannot read property 'speak' of undefined
     at Object.b.updates.installPlugin (load-
 scripts.php?c=1&load[chunk_0]=hoverIntent,common,admin-bar,jquery-ui-
 core,thickbox,plugin-install,underscore,wp-util,wp-sanitize,wp-
 a11y,updates,svg-painter&ver=5.3-alpha-20190919.002339:359)
     at HTMLAnchorElement.<anonymous> (load-
 scripts.php?c=1&load[chunk_0]=hoverIntent,common,admin-bar,jquery-ui-
 core,thickbox,plugin-install,underscore,wp-util,wp-sanitize,wp-
 a11y,updates,svg-painter&ver=5.3-alpha-20190919.002339:359)
     at HTMLFormElement.dispatch (load-scripts.php?c=1&load[chunk_0
 ]=jquery-core,jquery-migrate,utils&ver=5.3-alpha-20190919.002339:3)
     at HTMLFormElement.r.handle (load-scripts.php?c=1&load[chunk_0
 ]=jquery-core,jquery-migrate,utils&ver=5.3-alpha-20190919.002339:3)
 b.updates.installPlugin @ load-
 scripts.php?c=1&load[chunk_0]=hoverIntent,common,admin-bar,jquery-ui-
 core,thickbox,plugin-install,underscore,wp-util,wp-sanitize,wp-
 a11y,updates,svg-painter&ver=5.3-alpha-20190919.002339:359
 (anonymous) @ load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,admin-
 bar,jquery-ui-core,thickbox,plugin-install,underscore,wp-util,wp-sanitize
 ,wp-a11y,updates,svg-painter&ver=5.3-alpha-20190919.002339:359
 dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-
 migrate,utils&ver=5.3-alpha-20190919.002339:3
 r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-
 migrate,utils&ver=5.3-alpha-20190919.002339:3
 00:39:55.057
 }}}

 I believe this is related to the commit today -
 https://core.trac.wordpress.org/changeset/46169
 Related Ticket - https://core.trac.wordpress.org/ticket/45066

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48071>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list