Changeset 56107
- Timestamp:
- 06/29/2023 07:19:04 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r56001 r56107 1038 1038 <?php 1039 1039 if ( $upgrade_error ) { 1040 echo '<div class="error"><p>';1041 1040 if ( 'themes' === $upgrade_error ) { 1042 _e( 'Please select one or more themes to update.' ); 1041 $theme_updates = get_theme_updates(); 1042 if ( ! empty( $theme_updates ) ) { 1043 echo '<div class="error"><p>'; 1044 _e( 'Please select one or more themes to update.' ); 1045 echo '</p></div>'; 1046 } 1043 1047 } else { 1044 _e( 'Please select one or more plugins to update.' ); 1045 } 1046 echo '</p></div>'; 1048 $plugin_updates = get_plugin_updates(); 1049 if ( ! empty( $plugin_updates ) ) { 1050 echo '<div class="error"><p>'; 1051 _e( 'Please select one or more plugins to update.' ); 1052 echo '</p></div>'; 1053 } 1054 } 1047 1055 } 1048 1056
Note: See TracChangeset
for help on using the changeset viewer.