Changeset 47122 for trunk/tests/phpunit/tests/attachment/slashes.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/attachment/slashes.php
r46586 r47122 12 12 wp_set_current_user( $this->author_id ); 13 13 14 // it is important to test with both even and odd numbered slashes as15 // kses does a strip-then-add slashes in some of its function calls14 // It is important to test with both even and odd numbered slashes, 15 // as KSES does a strip-then-add slashes in some of its function calls. 16 16 $this->slash_1 = 'String with 1 slash \\'; 17 17 $this->slash_2 = 'String with 2 slashes \\\\'; … … 24 24 25 25 /** 26 * Tests the model function that expects slashed data 26 * Tests the model function that expects slashed data. 27 27 */ 28 28 function test_wp_insert_attachment() {
Note: See TracChangeset
for help on using the changeset viewer.