mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Administration: Replace legacy updated message type in add_settings_error() calls with success.
See #44640. git-svn-id: https://develop.svn.wordpress.org/trunk@45818 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -151,7 +151,7 @@ if ( isset( $_POST['permalink_structure'] ) || isset( $_POST['category_base'] )
|
||||
}
|
||||
|
||||
if ( ! get_settings_errors() ) {
|
||||
add_settings_error( 'general', 'settings_updated', $message, 'updated' );
|
||||
add_settings_error( 'general', 'settings_updated', $message, 'success' );
|
||||
}
|
||||
|
||||
set_transient( 'settings_errors', get_settings_errors(), 30 );
|
||||
|
||||
Reference in New Issue
Block a user