Changeset 36221 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 01/08/2016 05:47:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r36092 r36221 652 652 case 'update_available': 653 653 if ( $status['url'] ) { 654 echo '<a data-slug="' . esc_attr( $api->slug ) . '" id="plugin_update_from_iframe" class="button button-primary right" href="' . $status['url'] . '" target="_parent">' . __( 'Install Update Now' ) .'</a>';654 echo '<a data-slug="' . esc_attr( $api->slug ) . '" data-plugin="' . esc_attr( $status['file'] ) . '" id="plugin_update_from_iframe" class="button button-primary right" href="' . $status['url'] . '" target="_parent">' . __( 'Install Update Now' ) .'</a>'; 655 655 } 656 656 break;
Note: See TracChangeset
for help on using the changeset viewer.