Make WordPress Core


Ignore:
Timestamp:
05/13/2016 06:40:19 PM (9 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-includes/taxonomy.php

    r37342 r37431  
    1515 *
    1616 * This function fires twice: in wp-settings.php before plugins are loaded (for
    17  * backwards compatibility reasons), and again on the {@see 'init'} action. We must
     17 * backward compatibility reasons), and again on the {@see 'init'} action. We must
    1818 * avoid registering rewrite rules before the {@see 'init'} action.
    1919 *
     
    21982198    $args = wp_parse_args($args, $defaults);
    21992199
    2200     // backwards compatibility
     2200    // backward compatibility
    22012201    if ( isset($args['ignore_empty']) ) {
    22022202        $args['hide_empty'] = $args['ignore_empty'];
Note: See TracChangeset for help on using the changeset viewer.