mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
Customize: Add button in Publish Settings to discard unsaved changes (including drafted and scheduled), reverting Customizer to the last published state.
Props westonruter, melchoyce. Amends [41667]. See #39896, #21666. git-svn-id: https://develop.svn.wordpress.org/trunk@41694 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -574,7 +574,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
'themeDownloading' => __( 'Downloading your new theme…' ),
|
||||
'themePreviewWait' => __( 'Setting up your live preview. This may take a bit.' ),
|
||||
'revertingChanges' => __( 'Reverting unpublished changes…' ),
|
||||
'trashConfirm' => __( 'Are you sure you would like to discard your unpublished changes?' ),
|
||||
'trashConfirm' => __( 'Are you sure you’d like to discard your unpublished changes?' ),
|
||||
/* translators: %s: URL to the Customizer to load the autosaved version */
|
||||
'autosaveNotice' => __( 'There is a more recent autosave of your changes than the one you are previewing. <a href="%s">Restore the autosave</a>' ),
|
||||
'videoHeaderNotice' => __( 'This theme doesn\'t support video headers on this page. Navigate to the front page or another page that supports video headers.' ),
|
||||
|
||||
Reference in New Issue
Block a user