Changeset 56600 for trunk/src/wp-admin/update-core.php
- Timestamp:
- 09/17/2023 03:31:32 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r56570 r56600 1073 1073 $theme_updates = get_theme_updates(); 1074 1074 if ( ! empty( $theme_updates ) ) { 1075 echo '<div class="error"><p>'; 1076 _e( 'Please select one or more themes to update.' ); 1077 echo '</p></div>'; 1075 wp_admin_notice( 1076 __( 'Please select one or more themes to update.' ), 1077 array( 1078 'additional_classes' => array( 'error' ), 1079 ) 1080 ); 1078 1081 } 1079 1082 } else { 1080 1083 $plugin_updates = get_plugin_updates(); 1081 1084 if ( ! empty( $plugin_updates ) ) { 1082 echo '<div class="error"><p>'; 1083 _e( 'Please select one or more plugins to update.' ); 1084 echo '</p></div>'; 1085 wp_admin_notice( 1086 __( 'Please select one or more plugins to update.' ), 1087 array( 1088 'additional_classes' => array( 'error' ), 1089 ) 1090 ); 1085 1091 } 1086 1092 }
Note: See TracChangeset
for help on using the changeset viewer.