WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/10/2016 12:50:21 AM (4 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize capitalization of Ajax throughout core documentation per the core spelling guide.

Ajax, while considered an acronym for Asynchronous JavaScript and XML, is most commonly capitalized only in the first character.

Part props ocean90.
See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r37985 r38028  
    204204    foreach ( (array) $terms as $term ) {
    205205        $popular_ids[] = $term->term_id;
    206         if ( !$echo ) // hack for AJAX use
     206        if ( !$echo ) // Hack for Ajax use.
    207207            continue;
    208208        $id = "popular-$taxonomy-$term->term_id";
Note: See TracChangeset for help on using the changeset viewer.