Make WordPress Core

Changeset 50610


Ignore:
Timestamp:
03/27/2021 01:32:55 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Spell "non-existent" in a consistent way.

See #52628.

Location:
trunk/tests/phpunit/tests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/cache.php

    r49857 r50610  
    325325        $this->assertSame( $val2, wp_cache_get( $key ) );
    326326
    327         // Non-existant key should fail.
     327        // Non-existent key should fail.
    328328        $this->assertFalse( wp_cache_replace( $fake_key, $val1 ) );
    329329
  • trunk/tests/phpunit/tests/cron.php

    r50394 r50610  
    246246        $unrelated_hook = __FUNCTION__ . '_two';
    247247
    248         // Attempt to clear schedule on non-existant hook.
     248        // Attempt to clear schedule on non-existent hook.
    249249        $unschedule_hook = wp_unschedule_hook( $hook );
    250250        $this->assertSame( 0, $unschedule_hook );
  • trunk/tests/phpunit/tests/mail.php

    r49844 r50610  
    172172
    173173        // Non-fatal errors.
    174         $this->assertTrue( wp_mail( 'valid@address.com', 'subject', 'body', "Cc: invalid-address\nBcc: @invalid.address", ABSPATH . '/non-existant-file.html' ) );
     174        $this->assertTrue( wp_mail( 'valid@address.com', 'subject', 'body', "Cc: invalid-address\nBcc: @invalid.address", ABSPATH . '/non-existent-file.html' ) );
    175175
    176176        // Fatal errors.
  • trunk/tests/phpunit/tests/rest-api/rest-post-meta-fields.php

    r50567 r50610  
    10541054
    10551055    /**
    1056      * Ensure deleting non-existant meta data behaves gracefully.
     1056     * Ensure deleting non-existent meta data behaves gracefully.
    10571057     *
    10581058     * @ticket 52787
Note: See TracChangeset for help on using the changeset viewer.