WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/13/2016 06:40:19 PM (5 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs.

Also use 'back-compat' in some inline comments where backward compatibility is the subject and shorthand feels more natural.

Note: 'backwards compatibility/compatibile' can also be considered correct, though it's primary seen in regular use in British English.

Props ocean90.
Fixes #36835.

File:
1 edited

Legend:

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

    r23567 r37431  
    1212
    1313if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) {
    14     // For backwards compat with plugins that don't use the Settings API and just set updated=1 in the redirect
     14    // For back-compat with plugins that don't use the Settings API and just set updated=1 in the redirect.
    1515    add_settings_error('general', 'settings_updated', __('Settings saved.'), 'updated');
    1616}
Note: See TracChangeset for help on using the changeset viewer.