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-includes/class-wp-embed.php

    r37627 r38028  
    3939        add_filter( 'the_content', array( $this, 'autoembed' ), 8 );
    4040
    41         // After a post is saved, cache oEmbed items via AJAX
     41        // After a post is saved, cache oEmbed items via Ajax
    4242        add_action( 'edit_form_advanced', array( $this, 'maybe_run_ajax_cache' ) );
    4343        add_action( 'edit_page_form', array( $this, 'maybe_run_ajax_cache' ) );
     
    7676    /**
    7777     * If a post/page was saved, then output JavaScript to make
    78      * an AJAX request that will call WP_Embed::cache_oembed().
     78     * an Ajax request that will call WP_Embed::cache_oembed().
    7979     */
    8080    public function maybe_run_ajax_cache() {
Note: See TracChangeset for help on using the changeset viewer.