Ticket #57999: 57999.diff
File 57999.diff, 787 bytes (added by , 19 months ago) |
---|
-
wp-admin/update-core.php
1031 1031 1032 1032 <?php 1033 1033 if ( $upgrade_error ) { 1034 echo '<div class="error"><p>'; 1034 $themes = get_theme_updates(); 1035 1035 1036 if ( 'themes' === $upgrade_error ) { 1037 if (!empty ( $themes ) ) { 1038 echo '<div class="error"><p>'; 1036 1039 _e( 'Please select one or more themes to update.' ); 1037 } else { 1038 _e( 'Please select one or more plugins to update.' ); 1040 } 1039 1041 } 1042 1043 else { 1044 $plugins = get_plugin_updates(); 1045 if ( !empty ( $plugins ) ){ 1046 echo '<div class="error"><p>'; 1047 _e( 'Please select one or more plugins to update.' ); 1048 } 1049 } 1040 1050 echo '</p></div>'; 1041 1051 } 1042 1052