Make WordPress Core


Ignore:
Timestamp:
12/03/2010 10:59:20 AM (14 years ago)
Author:
markjaquith
Message:

Backwards compat for plugin use of updated=1. fixes #15660

File:
1 edited

Legend:

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

    r13177 r16706  
    1212wp_reset_vars(array('action', 'standalone', 'option_group_id'));
    1313
     14if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) {
     15    // For backwards compat with plugins that don't use the Settings API and just set updated=1 in the redirect
     16    add_settings_error('general', 'settings_updated', __('Settings saved.'), 'updated');
     17}
     18
    1419settings_errors();
    1520
Note: See TracChangeset for help on using the changeset viewer.