Make WordPress Core


Ignore:
Timestamp:
04/12/2024 05:45:23 PM (8 months ago)
Author:
swissspidy
Message:

Docs: Fix various typos and spelling mistakes.

Props swissspidy, jucaduca, sergeybiryukov.
See #60699.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/testcase-ajax.php

    r51568 r57987  
    134134     * Sets up the test fixture.
    135135     *
    136      * Overrides wp_die(), pretends to be Ajax, and suppresses E_WARNINGs.
     136     * Overrides wp_die(), pretends to be Ajax, and suppresses warnings.
    137137     */
    138138    public function set_up() {
     
    162162        unset( $GLOBALS['post'] );
    163163        unset( $GLOBALS['comment'] );
    164         remove_filter( 'wp_die_ajax_handler', array( $this, 'getDieHandler' ), 1, 1 );
     164        remove_filter( 'wp_die_ajax_handler', array( $this, 'getDieHandler' ), 1 );
    165165        remove_action( 'clear_auth_cookie', array( $this, 'logout' ) );
    166166        error_reporting( $this->_error_level );
Note: See TracChangeset for help on using the changeset viewer.