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:
Sergey Biryukov
2019-08-16 00:38:42 +00:00
parent e961891e1b
commit f3241f4883
6 changed files with 8 additions and 8 deletions

View File

@@ -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 );