Make WordPress Core


Ignore:
Timestamp:
10/03/2017 12:21:06 AM (8 years ago)
Author:
westonruter
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r41667 r41694  
    575575        'themePreviewWait'   => __( 'Setting up your live preview. This may take a bit.' ),
    576576        'revertingChanges'   => __( 'Reverting unpublished changes…' ),
    577         'trashConfirm'       => __( 'Are you sure you would like to discard your unpublished changes?' ),
     577        'trashConfirm'       => __( 'Are you sure you’d like to discard your unpublished changes?' ),
    578578        /* translators: %s: URL to the Customizer to load the autosaved version */
    579579        'autosaveNotice'     => __( 'There is a more recent autosave of your changes than the one you are previewing. <a href="%s">Restore the autosave</a>' ),
Note: See TracChangeset for help on using the changeset viewer.