Make WordPress Core


Ignore:
Timestamp:
04/12/2024 05:45:23 PM (10 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/tests/user.php

    r56746 r57987  
    14921492        $this->assertSame( $new_email, $recipient->address, 'Admin email change notification recipient not as expected' );
    14931493
    1494         // Assert that HTML entites have been decode in body and subject.
     1494        // Assert that HTML entities have been decode in body and subject.
    14951495        $this->assertStringContainsString( '\'Test\' blog\'s "name" has <html entities> &', $email->subject, 'Email subject does not contain the decoded HTML entities' );
    14961496        $this->assertStringNotContainsString( '&#039;Test&#039; blog&#039;s &quot;name&quot; has &lt;html entities&gt; &amp;', $email->subject, $email->subject, 'Email subject does contains HTML entities' );
     
    17951795        $this->assertSame( 'new-email@test.dev', $recipient->address, 'User email change confirmation recipient not as expected' );
    17961796
    1797         // Assert that HTML entites have been decoded in body and subject.
     1797        // Assert that HTML entities have been decoded in body and subject.
    17981798        $this->assertStringContainsString( '\'Test\' blog\'s "name" has <html entities> &', $email->subject, 'Email subject does not contain the decoded HTML entities' );
    17991799        $this->assertStringNotContainsString( '&#039;Test&#039; blog&#039;s &quot;name&quot; has &lt;html entities&gt; &amp;', $email->subject, 'Email subject does contains HTML entities' );
Note: See TracChangeset for help on using the changeset viewer.