Changeset 36558
- Timestamp:
- 02/17/2016 07:41:14 PM (9 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r36297 r36558 462 462 if ( $status['url'] ) { 463 463 /* translators: 1: Plugin name and version */ 464 $action_links[] = '<a class="update-now button " data-plugin="' . esc_attr( $status['file'] ) . '" data-slug="' . esc_attr( $plugin['slug'] ) . '" href="' . esc_url( $status['url'] ) . '" aria-label="' . esc_attr( sprintf( __( 'Update %s now' ), $name ) ) . '" data-name="' . esc_attr( $name ) . '">' . __( 'Update Now' ) . '</a>';464 $action_links[] = '<a class="update-now button aria-button-if-js" data-plugin="' . esc_attr( $status['file'] ) . '" data-slug="' . esc_attr( $plugin['slug'] ) . '" href="' . esc_url( $status['url'] ) . '" aria-label="' . esc_attr( sprintf( __( 'Update %s now' ), $name ) ) . '" data-name="' . esc_attr( $name ) . '">' . __( 'Update Now' ) . '</a>'; 465 465 } 466 466 -
trunk/src/wp-admin/js/updates.js
r36221 r36558 525 525 var $button = $( e.target ); 526 526 527 // Do nothing while updating and when the button is disabled. 528 if ( $button.hasClass( 'updating-message' ) || $button.hasClass( 'button-disabled' ) ) { 529 return; 530 } 531 527 532 if ( wp.updates.shouldRequestFilesystemCredentials && ! wp.updates.updateLock ) { 528 533 wp.updates.requestFilesystemCredentials( e );
Note: See TracChangeset
for help on using the changeset viewer.