Make WordPress Core


Ignore:
Timestamp:
03/22/2022 04:23:32 PM (3 years ago)
Author:
audrasjb
Message:

Administration: Replace contracted verb forms for better consistency.

This changeset replaces contracted verb forms like doesn't, can't, or isn't with non-contracted forms like does not, cannot, or is not, for better consistency across the WordPress administration. It also updates some corresponding unit tests strings.

Props Presskopp, socalchristina, aandrewdixon, francina, SergeyBiryukov, JeffPaul, audrasjb, hellofromTonya.
Fixes #38913.
See #39176.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/oembed/template.php

    r52437 r52978  
    4848        $doc = new DOMDocument();
    4949        $this->assertTrue( $doc->loadHTML( $actual ) );
    50         $this->assertStringNotContainsString( 'That embed can’t be found.', $actual );
     50        $this->assertStringNotContainsString( 'That embed cannot be found.', $actual );
    5151        $this->assertStringContainsString( 'Hello World', $actual );
    5252    }
     
    8080        $doc = new DOMDocument();
    8181        $this->assertTrue( $doc->loadHTML( $actual ) );
    82         $this->assertStringNotContainsString( 'That embed can’t be found.', $actual );
     82        $this->assertStringNotContainsString( 'That embed cannot be found.', $actual );
    8383        $this->assertStringContainsString( 'Hello World', $actual );
    8484        $this->assertStringContainsString( 'canola.jpg', $actual );
     
    9797        $doc = new DOMDocument();
    9898        $this->assertTrue( $doc->loadHTML( $actual ) );
    99         $this->assertStringContainsString( 'That embed can’t be found.', $actual );
     99        $this->assertStringContainsString( 'That embed cannot be found.', $actual );
    100100    }
    101101
     
    124124        $doc = new DOMDocument();
    125125        $this->assertTrue( $doc->loadHTML( $actual ) );
    126         $this->assertStringNotContainsString( 'That embed can’t be found.', $actual );
     126        $this->assertStringNotContainsString( 'That embed cannot be found.', $actual );
    127127        $this->assertStringContainsString( 'Hello World', $actual );
    128128        $this->assertStringContainsString( 'canola.jpg', $actual );
     
    149149        $doc = new DOMDocument();
    150150        $this->assertTrue( $doc->loadHTML( $actual ) );
    151         $this->assertStringContainsString( 'That embed can’t be found.', $actual );
     151        $this->assertStringContainsString( 'That embed cannot be found.', $actual );
    152152    }
    153153
     
    173173        $doc = new DOMDocument();
    174174        $this->assertTrue( $doc->loadHTML( $actual ) );
    175         $this->assertStringContainsString( 'That embed can’t be found.', $actual );
     175        $this->assertStringContainsString( 'That embed cannot be found.', $actual );
    176176    }
    177177
     
    196196        $doc = new DOMDocument();
    197197        $this->assertTrue( $doc->loadHTML( $actual ) );
    198         $this->assertStringContainsString( 'That embed can’t be found.', $actual );
     198        $this->assertStringContainsString( 'That embed cannot be found.', $actual );
    199199    }
    200200
     
    223223        $doc = new DOMDocument();
    224224        $this->assertTrue( $doc->loadHTML( $actual ) );
    225         $this->assertStringNotContainsString( 'That embed can’t be found.', $actual );
     225        $this->assertStringNotContainsString( 'That embed cannot be found.', $actual );
    226226        $this->assertStringContainsString( 'Hello World', $actual );
    227227    }
Note: See TracChangeset for help on using the changeset viewer.