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
@@ -237,7 +237,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
'bulk_action',
/* translators: %d: number of requests */
sprintf( _n( 'Deleted %d request', 'Deleted %d requests', $count ), $count ),
'updated'
'success'
);
break;
case 'resend':
@@ -254,7 +254,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
'bulk_action',
/* translators: %d: number of requests */
sprintf( _n( 'Re-sent %d request', 'Re-sent %d requests', $count ), $count ),
'updated'
'success'
);
break;
}
+2 -2
View File
@@ -88,7 +88,7 @@ function _wp_personal_data_handle_actions() {
'privacy_action_email_retry',
'privacy_action_email_retry',
__( 'Confirmation request sent again successfully.' ),
'updated'
'success'
);
}
} elseif ( isset( $_POST['action'] ) ) {
@@ -166,7 +166,7 @@ function _wp_personal_data_handle_actions() {
'username_or_email_for_privacy_request',
'username_or_email_for_privacy_request',
__( 'Confirmation request initiated successfully.' ),
'updated'
'success'
);
break;
}