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-includes/formatting.php

    r37283 r37431  
    935935    $string = @htmlspecialchars( $string, $quote_style, $charset, $double_encode );
    936936
    937     // Backwards compatibility
     937    // Back-compat.
    938938    if ( 'single' === $_quote_style )
    939939        $string = str_replace( "'", ''', $string );
Note: See TracChangeset for help on using the changeset viewer.