Ticket #50708: 50708.2.patch
File 50708.2.patch, 1.7 KB (added by , 4 years ago) |
---|
-
wp-admin/includes/class-wp-automatic-updater.php
386 386 387 387 // Core doesn't output this, so let's append it so we don't get confused. 388 388 if ( is_wp_error( $upgrade_result ) ) { 389 $skin->error( __( 'Installation Failed' ), $upgrade_result );389 $skin->error( __( 'Installation failed' ), $upgrade_result ); 390 390 } else { 391 391 $skin->feedback( __( 'WordPress updated successfully' ) ); 392 392 } -
wp-admin/js/updates.js
727 727 $button.data( 'name' ) 728 728 ) 729 729 ) 730 .text( __( 'Installation Failed!' ) );730 .text( __( 'Installation failed' ) ); 731 731 732 732 wp.a11y.speak( errorMessage, 'assertive' ); 733 733 … … 1364 1364 $button.data( 'name' ) 1365 1365 ) 1366 1366 ) 1367 .text( __( 'Installation Failed!' ) );1367 .text( __( 'Installation failed' ) ); 1368 1368 1369 1369 wp.a11y.speak( errorMessage, 'assertive' ); 1370 1370 -
wp-admin/update-core.php
646 646 if ( is_wp_error( $result ) ) { 647 647 show_message( $result ); 648 648 if ( 'up_to_date' != $result->get_error_code() && 'locked' != $result->get_error_code() ) { 649 show_message( __( 'Installation Failed' ) );649 show_message( __( 'Installation failed' ) ); 650 650 } 651 651 echo '</div>'; 652 652 return;