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

    r36953 r37431  
    17441744     */
    17451745    public function add_permastruct( $name, $struct, $args = array() ) {
    1746         // Backwards compatibility for the old parameters: $with_front and $ep_mask.
     1746        // Back-compat for the old parameters: $with_front and $ep_mask.
    17471747        if ( ! is_array( $args ) )
    17481748            $args = array( 'with_front' => $args );
Note: See TracChangeset for help on using the changeset viewer.