Fix typo in a comment in slashing tests.

git-svn-id: https://develop.svn.wordpress.org/trunk@31065 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-01-07 07:08:47 +00:00
parent d3d11c704d
commit 2fcd588983
5 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@ class Tests_Attachment_Slashes extends WP_UnitTestCase {
wp_set_current_user( $this->author_id );
// it is important to test with both even and odd numbered slashes as
// kses does a strip-then-add slashes in some of it's function calls
// kses does a strip-then-add slashes in some of its function calls
$this->slash_1 = 'String with 1 slash \\';
$this->slash_2 = 'String with 2 slashes \\\\';
$this->slash_3 = 'String with 3 slashes \\\\\\';

View File

@ -14,7 +14,7 @@ class Tests_Comment_Slashes extends WP_UnitTestCase {
wp_set_current_user( $this->author_id );
// it is important to test with both even and odd numbered slashes as
// kses does a strip-then-add slashes in some of it's function calls
// kses does a strip-then-add slashes in some of its function calls
$this->slash_1 = 'String with 1 slash \\';
$this->slash_2 = 'String with 2 slashes \\\\';
$this->slash_3 = 'String with 3 slashes \\\\\\';

View File

@ -9,7 +9,7 @@ class Tests_Option_Slashes extends WP_UnitTestCase {
function setUp() {
parent::setUp();
// it is important to test with both even and odd numbered slashes as
// kses does a strip-then-add slashes in some of it's function calls
// kses does a strip-then-add slashes in some of its function calls
$this->slash_1 = 'String with 1 slash \\';
$this->slash_2 = 'String with 2 slashes \\\\';
$this->slash_3 = 'String with 3 slashes \\\\\\';

View File

@ -13,7 +13,7 @@ class Tests_Post_Slashes extends WP_UnitTestCase {
wp_set_current_user( $this->author_id );
// it is important to test with both even and odd numbered slashes as
// kses does a strip-then-add slashes in some of it's function calls
// kses does a strip-then-add slashes in some of its function calls
$this->slash_1 = 'String with 1 slash \\';
$this->slash_2 = 'String with 2 slashes \\\\';
$this->slash_3 = 'String with 3 slashes \\\\\\';

View File

@ -13,7 +13,7 @@ class Tests_User_Slashes extends WP_UnitTestCase {
wp_set_current_user( $this->author_id );
// it is important to test with both even and odd numbered slashes as
// kses does a strip-then-add slashes in some of it's function calls
// kses does a strip-then-add slashes in some of its function calls
$this->slash_1 = 'String with 1 slash \\';
$this->slash_2 = 'String with 2 slashes \\\\';
$this->slash_3 = 'String with 3 slashes \\\\\\';