diff --git a/src/js/_enqueues/wp/updates.js b/src/js/_enqueues/wp/updates.js index 94cc13024f..a7c2d8e060 100644 --- a/src/js/_enqueues/wp/updates.js +++ b/src/js/_enqueues/wp/updates.js @@ -520,7 +520,7 @@ } ) ); $card.find( '.update-now' ) - .text( __( 'Update Failed!' ) ) + .text( __( 'Update failed' ) ) .removeClass( 'updating-message' ); if ( response.pluginName ) { @@ -1838,7 +1838,7 @@ .removeClass( 'updating-message' ) .removeAttr( 'aria-label' ) .prop( 'disabled', true ) - .text( __( 'Update Failed!' ) ); + .text( __( 'Update failed' ) ); $( '.updating-message:not(.button):not(.thickbox)' ) .removeClass( 'updating-message notice-warning' ) diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php index d47d0c9d15..03a8036e37 100644 --- a/src/wp-admin/includes/ajax-actions.php +++ b/src/wp-admin/includes/ajax-actions.php @@ -4210,7 +4210,7 @@ function wp_ajax_update_theme() { } // An unhandled error occurred. - $status['errorMessage'] = __( 'Update failed.' ); + $status['errorMessage'] = __( 'Update failed' ); wp_send_json_error( $status ); }