WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/24/2017 06:46:26 PM (3 years ago)
Author:
melchoyce
Message:

Code Editors: Update copy in warning modals.

Props helen.
See #42100.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/plugin-editor.php

    r41876 r41996  
    299299            <div class="file-editor-warning-message">
    300300                <h1><?php _e( 'Heads up!' ); ?></h1>
    301                 <p><?php _e( 'You appear to be making direct edits to your plugin in the WordPress dashboard. We recommend that you don&#8217;t! Editing plugins directly may introduce incompatibilities that break your theme or other plugins, and can leave you unable to log back in to WordPress and undo changes.' ); ?></p>
    302                 <p><?php _e( 'If you absolutely have to edit this plugin, create a copy with a new name and hang on to the original version, so you can re-enable a functional version if something goes wrong.' ); ?></p>
     301                <p><?php _e( 'You appear to be making direct edits to your plugin in the WordPress dashboard. We recommend that you don&#8217;t! Editing plugins directly may introduce incompatibilities that break your site and your changes may be lost in future updates.' ); ?></p>
     302                <p><?php _e( 'If you absolutely have to make direct edits to this plugin, use a file manager to create a copy with a new name and hang on to the original. That way, you can re-enable a functional version if something goes wrong.' ); ?></p>
    303303            </div>
    304304            <p>
Note: See TracChangeset for help on using the changeset viewer.