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-theme.php

    r37338 r37431  
    448448            case 'Name' :
    449449            case 'Title' :
    450                 // See note above about using translated data. get() is not ideal.
    451                 // It is only for backwards compatibility. Use display().
     450                /*
     451                 * See note above about using translated data. get() is not ideal.
     452                 * It is only for backward compatibility. Use display().
     453                 */
    452454                return $this->get('Name');
    453455            case 'Author' :
Note: See TracChangeset for help on using the changeset viewer.