WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/21/2014 04:40:29 PM (6 years ago)
Author:
helen
Message:

Admin notices: Add more variety and make more generically usable.

There is now a base class of notice, with additional classes of notice-success, notice-warning, notice-error, and a new blue notice-info.

Also corrects some misleading notice colors, such as plugin tested up to warnings and login messages.

props avryl, melchoyce.
fixes #27418.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r30332 r30505  
    20852085function _local_storage_notice() {
    20862086    ?>
    2087     <div id="local-storage-notice" class="hidden">
     2087    <div id="local-storage-notice" class="hidden notice">
    20882088    <p class="local-restore">
    20892089        <?php _e('The backup of this post in your browser is different from the version below.'); ?>
Note: See TracChangeset for help on using the changeset viewer.