[wp-trac] [WordPress Trac] #37563: On page updates: Bulk actions FTP dismissal issues

WordPress Trac noreply at wordpress.org
Thu Aug 4 08:35:03 UTC 2016


#37563: On page updates: Bulk actions FTP dismissal issues
--------------------------+------------------
 Reporter:  jorbin        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.6
Component:  Plugins       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------

Comment (by afercia):

 Looking a bit at this, I ''think'' 2) is intentional. About 1) noticed
 that when clicking on the "update now" link on the plugin row and the FTP
 credentials modal opens, `wp.updates.updatePlugin` runs and set the
 `originaltext` data. Easy to check because the update available notice
 changes and the icon starts spinning:

 [[Image(https://cldup.com/lFCH3KypIL.png)]]

 Instead, when bulk updating `wp.updates.updatePlugin` does not run, not
 sure if this is intentional. See below: no updating notice and no spinning
 icon:

 [[Image(https://cldup.com/oUx41URHgA.png)]]

 so, `originaltext` data is undefined when canceling the modal. At this
 point if `$message.find( 'p' ).data( 'originaltext' )` is undefined maybe
 it should directly get the `$message.find( 'p' ).html()`.

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


More information about the wp-trac mailing list