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-customize-manager.php

    r37985 r38028  
    306306
    307307    /**
    308      * Return true if it's an AJAX request.
     308     * Return true if it's an Ajax request.
    309309     *
    310310     * @since 3.4.0
     
    312312     * @access public
    313313     *
    314      * @param string|null $action Whether the supplied AJAX action is being run.
    315      * @return bool True if it's an AJAX request, false otherwise.
     314     * @param string|null $action Whether the supplied Ajax action is being run.
     315     * @return bool True if it's an Ajax request, false otherwise.
    316316     */
    317317    public function doing_ajax( $action = null ) {
     
    334334    /**
    335335     * Custom wp_die wrapper. Returns either the standard message for UI
    336      * or the AJAX message.
    337      *
    338      * @since 3.4.0
    339      *
    340      * @param mixed $ajax_message AJAX return
     336     * or the Ajax message.
     337     *
     338     * @since 3.4.0
     339     *
     340     * @param mixed $ajax_message Ajax return
    341341     * @param mixed $message UI message
    342342     */
     
    354354
    355355    /**
    356      * Return the AJAX wp_die() handler if it's a customized request.
     356     * Return the Ajax wp_die() handler if it's a customized request.
    357357     *
    358358     * @since 3.4.0
     
    610610
    611611    /**
    612      * Prevents AJAX requests from following redirects when previewing a theme
     612     * Prevents Ajax requests from following redirects when previewing a theme
    613613     * by issuing a 200 response instead of a 30x.
    614614     *
     
    763763    /**
    764764     * Prevent sending a 404 status when returning the response for the customize
    765      * preview, since it causes the jQuery AJAX to fail. Send 200 instead.
     765     * preview, since it causes the jQuery Ajax to fail. Send 200 instead.
    766766     *
    767767     * @since 4.0.0
     
    11431143
    11441144        /**
    1145          * Filters response data for a successful customize_save AJAX request.
     1145         * Filters response data for a successful customize_save Ajax request.
    11461146         *
    11471147         * This filter does not apply if there was a nonce or authentication failure.
Note: See TracChangeset for help on using the changeset viewer.