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/rewrite.php

    r36970 r37431  
    203203    global $wp_rewrite;
    204204
    205     // backwards compatibility for the old parameters: $with_front and $ep_mask
     205    // Back-compat for the old parameters: $with_front and $ep_mask.
    206206    if ( ! is_array( $args ) )
    207207        $args = array( 'with_front' => $args );
Note: See TracChangeset for help on using the changeset viewer.