mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 06:10:09 +00:00
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:
@@ -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 ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user