Changeset 45818
- Timestamp:
- 08/16/2019 12:38:42 AM (5 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-privacy-requests-table.php
r45448 r45818 238 238 /* translators: %d: number of requests */ 239 239 sprintf( _n( 'Deleted %d request', 'Deleted %d requests', $count ), $count ), 240 ' updated'240 'success' 241 241 ); 242 242 break; … … 255 255 /* translators: %d: number of requests */ 256 256 sprintf( _n( 'Re-sent %d request', 'Re-sent %d requests', $count ), $count ), 257 ' updated'257 'success' 258 258 ); 259 259 break; -
trunk/src/wp-admin/includes/privacy-tools.php
r45519 r45818 89 89 'privacy_action_email_retry', 90 90 __( 'Confirmation request sent again successfully.' ), 91 ' updated'91 'success' 92 92 ); 93 93 } … … 167 167 'username_or_email_for_privacy_request', 168 168 __( 'Confirmation request initiated successfully.' ), 169 ' updated'169 'success' 170 170 ); 171 171 break; -
trunk/src/wp-admin/options-head.php
r42343 r45818 13 13 if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) { 14 14 // For back-compat with plugins that don't use the Settings API and just set updated=1 in the redirect. 15 add_settings_error( 'general', 'settings_updated', __( 'Settings saved.' ), ' updated' );15 add_settings_error( 'general', 'settings_updated', __( 'Settings saved.' ), 'success' ); 16 16 } 17 17 -
trunk/src/wp-admin/options-permalink.php
r45676 r45818 152 152 153 153 if ( ! get_settings_errors() ) { 154 add_settings_error( 'general', 'settings_updated', $message, ' updated' );154 add_settings_error( 'general', 'settings_updated', $message, 'success' ); 155 155 } 156 156 -
trunk/src/wp-admin/options-privacy.php
r45453 r45818 46 46 } 47 47 48 add_settings_error( 'page_for_privacy_policy', 'page_for_privacy_policy', $privacy_page_updated_message, ' updated' );48 add_settings_error( 'page_for_privacy_policy', 'page_for_privacy_policy', $privacy_page_updated_message, 'success' ); 49 49 } elseif ( 'create-privacy-page' === $action ) { 50 50 -
trunk/src/wp-admin/options.php
r45743 r45818 303 303 // If no settings errors were registered add a general 'updated' message. 304 304 if ( ! count( get_settings_errors() ) ) { 305 add_settings_error( 'general', 'settings_updated', __( 'Settings saved.' ), ' updated' );305 add_settings_error( 'general', 'settings_updated', __( 'Settings saved.' ), 'success' ); 306 306 } 307 307 set_transient( 'settings_errors', get_settings_errors(), 30 );
Note: See TracChangeset
for help on using the changeset viewer.