Skip to content
Permalink
Browse files

Coding Standards: Fix WPCS issue in [45990].

Merges [46019] to the 5.2. branch.

git-svn-id: https://develop.svn.wordpress.org/branches/5.2@46022 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Sep 4, 2019
1 parent 66a1deb commit c829578d2f36583d948770ce56efb981402281e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/phpunit/tests/formatting/WPRelNoFollow.php
@@ -76,7 +76,7 @@ public function data_wp_rel_nofollow() {
}
public function test_append_no_follow_with_valueless_attribute() {
$content = '<p>This is some cool <a href="demo.com" download rel="hola">Code</a></p>';
$content = '<p>This is some cool <a href="demo.com" download rel="hola">Code</a></p>';
$expected = '<p>This is some cool <a href=\"demo.com\" download rel=\"hola nofollow\">Code</a></p>';
$this->assertEquals( $expected, wp_rel_nofollow( $content ) );
}

0 comments on commit c829578

Please sign in to comment.
You can’t perform that action at this time.