Make WordPress Core

Changeset 31549


Ignore:
Timestamp:
02/26/2015 01:30:06 AM (10 years ago)
Author:
azaozz
Message:

Press This: fix notices/errors classes. Props michael-arestad. Fixes #31456.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/press-this.js

    r31538 r31549  
    607607                className = error ? 'is-error' : 'is-notice';
    608608
    609             $alerts.append( $( '<p class="' + className + '">' ).text( msg ) );
     609            $alerts.append( $( '<p class="alert ' + className + '">' ).text( msg ) );
    610610        }
    611611
Note: See TracChangeset for help on using the changeset viewer.