WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (4 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

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

    r42201 r42343  
    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.' ), 'updated' );
    1616}
    1717
Note: See TracChangeset for help on using the changeset viewer.