Press This: fix notices/errors classes. Props michael-arestad. Fixes #31456.
git-svn-id: https://develop.svn.wordpress.org/trunk@31549 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fc6ffd2a83
commit
89120dbb92
|
@ -606,7 +606,7 @@
|
|||
var $alerts = $( '.editor-wrapper div.alerts' ),
|
||||
className = error ? 'is-error' : 'is-notice';
|
||||
|
||||
$alerts.append( $( '<p class="' + className + '">' ).text( msg ) );
|
||||
$alerts.append( $( '<p class="alert ' + className + '">' ).text( msg ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue