diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index 3442250e28..c4682e81ca 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -307,12 +307,28 @@ function list_plugin_updates() { /* translators: 1: Plugin name 2: Plugin version */ $details_text = sprintf( __( 'View %1$s version %2$s details.' ), $details_name, $plugin_data->update->new_version ); $details = sprintf( '%2$s', esc_url( $details_url ), $details_text ); - - echo " - - -

{$plugin_data->Name}
" . sprintf(__('You have version %1$s installed. Update to %2$s.'), $plugin_data->Version, $plugin_data->update->new_version) . ' ' . $details . $compat . $upgrade_notice . "

- "; + $checkbox_id = "checkbox_" . md5( $plugin_data->Name ); + ?> + + + + + +

Name; ?>
Version, + $plugin_data->update->new_version + ); + echo ' ' . $details . $compat . $upgrade_notice; + ?>

+ + @@ -359,11 +375,31 @@ function list_theme_updates() { $theme ) { - echo " - - - " . $theme->display('Name') . ' ' . sprintf( __( 'You have version %1$s installed. Update to %2$s.' ), $theme->display('Version'), $theme->update['new_version'] ) . " - "; + $checkbox_id = 'checkbox_' . md5( $theme->get( 'Name' ) ); + ?> + + + + + + + + display( 'Name' ); ?> + display( 'Version' ), + $theme->update['new_version'] + ); + ?> + + +