[wp-trac] [WordPress Trac] #31819: Shiny updates: more sophisticated locking

WordPress Trac noreply at wordpress.org
Mon Aug 8 22:51:44 UTC 2016


#31819: Shiny updates: more sophisticated locking
-------------------------------------+-------------------------------------
 Reporter:  DavidAnderson            |       Owner:  jorbin
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  4.2
Component:  Upgrade/Install          |     Version:  4.2
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  shiny-updates has-patch  |     Focuses:  ui, javascript,
  close                              |  administration
-------------------------------------+-------------------------------------

Comment (by jorbin):

 In [changeset:"38219"]:
 {{{
 #!CommitTicketReference repository="" revision="38219"
 Updates: Standardize JS Custom Event Names

 Merges [38218] in to 4.6 branch.

 Custom JS events are triggered on the document in order for plugins to
 have something to hook into. The standard began in #31819 is dash
 separated and begins with wp to signify the namespace, followed by the
 subject of our action ( "theme", "plugin", etc.) followed by the action
 and an optional indicator of status ( "install-success", "deleting" ).

 This brings some of the theme hooks in line with the standard. As of now,
 all plugin actions in src/wp-admin/js/updates.js have an equal
 corresponding theme action.

 Fixes #37598.
 See #37512, #37216, #31819.
 Props olarmarius, ocean90.
 }}}

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


More information about the wp-trac mailing list