~canonical-sysadmins/wordpress/5.1

« back to all changes in this revision

Viewing changes to wp-admin/options-head.php

  • Committer: Barry Price
  • Date: 2019-02-22 03:51:26 UTC
  • mfrom: (1.2.12 upstream)
  • Revision ID: barry.price@canonical.com-20190222035126-o28k38qs8jfyjsxt
Merge WP5.1 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
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.' ), 'updated' );
16
16
}
17
17
 
18
18
settings_errors();