diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php
index 53d3d73b60..8fc25fab0f 100644
|
a
|
b
|
if ( 'upgrade-core' === $action ) { |
| 1031 | 1031 | |
| 1032 | 1032 | <?php |
| 1033 | 1033 | if ( $upgrade_error ) { |
| 1034 | | echo '<div class="error"><p>'; |
| 1035 | 1034 | if ( 'themes' === $upgrade_error ) { |
| 1036 | | _e( 'Please select one or more themes to update.' ); |
| | 1035 | $theme_updates = get_theme_updates() ; |
| | 1036 | if ( ! empty( $theme_updates ) ) { |
| | 1037 | echo '<div class="error"><p>'; |
| | 1038 | _e( 'Please select one or more themes to update.' ); |
| | 1039 | echo '</p></div>'; |
| | 1040 | } |
| 1037 | 1041 | } else { |
| 1038 | | _e( 'Please select one or more plugins to update.' ); |
| | 1042 | $plugin_updates = get_plugin_updates() ; |
| | 1043 | if ( ! empty( $plugin_updates ) ) { |
| | 1044 | echo '<div class="error"><p>'; |
| | 1045 | _e( 'Please select one or more plugins to update.' ); |
| | 1046 | echo '</p></div>'; |
| | 1047 | } |
| 1039 | 1048 | } |
| 1040 | | echo '</p></div>'; |
| 1041 | 1049 | } |
| 1042 | 1050 | |
| 1043 | 1051 | $last_update_check = false; |