Ticket #50714: 50714.2.patch
| File 50714.2.patch, 1.1 KB (added by , 6 years ago) |
|---|
-
wp-admin/includes/ajax-actions.php
4210 4210 } 4211 4211 4212 4212 // An unhandled error occurred. 4213 $status['errorMessage'] = __( 'Update failed .' );4213 $status['errorMessage'] = __( 'Update failed' ); 4214 4214 wp_send_json_error( $status ); 4215 4215 } 4216 4216 -
wp-admin/js/updates.js
520 520 } ) ); 521 521 522 522 $card.find( '.update-now' ) 523 .text( __( 'Update Failed!' ) )523 .text( __( 'Update failed' ) ) 524 524 .removeClass( 'updating-message' ); 525 525 526 526 if ( response.pluginName ) { … … 1838 1838 .removeClass( 'updating-message' ) 1839 1839 .removeAttr( 'aria-label' ) 1840 1840 .prop( 'disabled', true ) 1841 .text( __( 'Update Failed!' ) );1841 .text( __( 'Update failed' ) ); 1842 1842 1843 1843 $( '.updating-message:not(.button):not(.thickbox)' ) 1844 1844 .removeClass( 'updating-message notice-warning' )