[wp-trac] [WordPress Trac] #31964: Use a replaceable function for the beforeupload handler with shiny updates

WordPress Trac noreply at wordpress.org
Tue Apr 14 15:51:39 UTC 2015


#31964: Use a replaceable function for the beforeupload handler with shiny updates
-----------------------------+---------------------------------------------
 Reporter:  DavidAnderson    |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  low              |   Milestone:  4.2
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  ui, javascript, administration
  shiny-updates              |
-----------------------------+---------------------------------------------
Changes (by ocean90):

 * priority:  normal => low
 * type:  defect (bug) => enhancement


Comment:

 Please create patches from the root directory.

 Would namespacing the event help too?
 `$().on( 'beforeunload.wp-update', function() {} )` and then `$().off(
 'beforeunload.wp-update' )`.

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


More information about the wp-trac mailing list