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/class-wp-http-requests-response.php

    r37428 r37431  
    145145     * Check if an ArrayAccess offset exists.
    146146     *
    147      * This is for backwards compatibility for array access.
     147     * This is for array access back-compat.
    148148     *
    149149     * @param string|int $key Array offset.
     
    158158     * Get an ArrayAccess value.
    159159     *
    160      * This is for backwards compatibility for array access.
     160     * This is for array access back-compat.
    161161     *
    162162     * @param string|int $key Array offset to get.
     
    190190     * Set an ArrayAccess value.
    191191     *
    192      * This is for backwards compatibility for array access.
     192     * This is for array access back-compat.
    193193     *
    194194     * @param string|int $key Array offset to set.
     
    220220     * Unset an ArrayAccess value.
    221221     *
    222      * This is for backwards compatibility for array access.
     222     * This is for array access back-compat.
    223223     *
    224224     * @param string|int $key Array offset to remove.
Note: See TracChangeset for help on using the changeset viewer.