Make WordPress Core


Ignore:
Timestamp:
05/13/2016 06:40:19 PM (8 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-admin/admin.php

    r37084 r37431  
    176176        $page_hook = get_plugin_page_hook($plugin_page, $plugin_page);
    177177
    178         // Backwards compatibility for plugins using add_management_page().
     178        // Back-compat for plugins using add_management_page().
    179179        if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook($plugin_page, 'tools.php') ) {
    180180            // There could be plugin specific params on the URL, so we need the whole query string
Note: See TracChangeset for help on using the changeset viewer.