Make WordPress Core


Ignore:
Timestamp:
12/06/2020 02:19:56 AM (4 years ago)
Author:
peterwilsoncc
Message:

Docs, Tests: Correctly capitalize JavaScript.

Correct Javascript to JavaScript within Wordpress core ;)

See #51800, #51802.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/formatting/WPTrimWords.php

    r48937 r49758  
    4242        $trimmed = 'This text contains. It should go.';
    4343
    44         $text = 'This text contains<script>alert(" Javascript");</script>. It should go.';
     44        $text = 'This text contains<script>alert(" JavaScript");</script>. It should go.';
    4545        $this->assertSame( $trimmed, wp_trim_words( $text ) );
    4646
Note: See TracChangeset for help on using the changeset viewer.