WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/16/2019 12:38:42 AM (2 months ago)
Author:
SergeyBiryukov
Message:

Administration: Replace legacy updated message type in add_settings_error() calls with success.

See #44640.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-head.php

    r42343 r45818  
    1313if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) {
    1414    // 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' );
    1616}
    1717
Note: See TracChangeset for help on using the changeset viewer.