[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 16:41:26 UTC 2015


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

 * owner:   => jorbin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32126"]:
 {{{
 #!CommitTicketReference repository="" revision="32126"
 Use named function instead of anonymous function

 The named function is testable and replaceable.

 Fixes #31964
 Props DavidAnderson, adamsilverstein, jorbin
 }}}

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


More information about the wp-trac mailing list