mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
Plugins: add dismissible notices to update failures.
Adds unit test. Props afercia, mehulkaklotar. Fixes #33465. git-svn-id: https://develop.svn.wordpress.org/trunk@35681 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -583,6 +583,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
'l10n' => array(
|
||||
'updating' => __( 'Updating...' ), // no ellipsis
|
||||
'updated' => __( 'Updated!' ),
|
||||
'updateFailedShort' => __( 'Update Failed!' ),
|
||||
/* translators: Error string for a failed update */
|
||||
'updateFailed' => __( 'Update Failed: %s' ),
|
||||
/* translators: Plugin name and version */
|
||||
|
||||
Reference in New Issue
Block a user