| 1 | diff --git tests/phpunit/tests/formatting/SanitizeFileName.php tests/phpunit/tests/formatting/SanitizeFileName.php |
|---|
| 2 | index e4f0824..7cda0fd 100644 |
|---|
| 3 | --- tests/phpunit/tests/formatting/SanitizeFileName.php |
|---|
| 4 | +++ tests/phpunit/tests/formatting/SanitizeFileName.php |
|---|
| 5 | @@ -11,7 +11,7 @@ class Tests_Formatting_SanitizeFileName extends WP_UnitTestCase { |
|---|
| 6 | } |
|---|
| 7 | |
|---|
| 8 | function test_removes_special_chars() { |
|---|
| 9 | - $special_chars = array("?", "[", "]", "/", "\\", "=", "<", ">", ":", ";", ",", "'", "\"", "&", "$", "#", "*", "(", ")", "|", "~", "`", "!", "{", "}", chr(0)); |
|---|
| 10 | + $special_chars = array("?", "[", "]", "/", "\\", "=", "<", ">", ":", ";", ",", "'", "\"", "&", "$", "#", "*", "(", ")", "|", "~", "`", "!", "{", "}", "%", "+", chr(0)); |
|---|
| 11 | $string = 'test'; |
|---|
| 12 | foreach ( $special_chars as $char ) |
|---|
| 13 | $string .= $char; |
|---|