[wp-trac] [WordPress Trac] #36823: "TypeError: wp.updates is undefined" when installing a plugin

WordPress Trac noreply at wordpress.org
Mon Jun 27 04:51:11 UTC 2016


#36823: "TypeError: wp.updates is undefined" when installing a plugin
-------------------------------------------------+-------------------------
 Reporter:  tfrommen                             |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  4.6
Component:  Upgrade/Install                      |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing reporter-    |     Focuses:  javascript
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by tfrommen):

 >It's worth noting that the code in question isn't run anymore for most
 parts thanks to the merge of Shiny Updates V2. It's only used on update-
 core.php right now, for example when updating language packs.

 Well, then this might be ''fixed'' for 4.6, because on `update-core.php`,
 the according script file is enqueued, so `wp.updates` '''is''' defined
 there.

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


More information about the wp-trac mailing list