Changeset 49758 for trunk/tests/phpunit/tests/formatting/WPTrimWords.php
- Timestamp:
- 12/06/2020 02:19:56 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/WPTrimWords.php
r48937 r49758 42 42 $trimmed = 'This text contains. It should go.'; 43 43 44 $text = 'This text contains<script>alert(" Java script");</script>. It should go.';44 $text = 'This text contains<script>alert(" JavaScript");</script>. It should go.'; 45 45 $this->assertSame( $trimmed, wp_trim_words( $text ) ); 46 46
Note: See TracChangeset
for help on using the changeset viewer.