WordPress.org

Make WordPress Core

Changeset 46022


Ignore:
Timestamp:
09/04/2019 06:42:05 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix WPCS issue in [45990].

Merges [46019] to the 5.2. branch.

Location:
branches/5.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2

  • branches/5.2/tests/phpunit/tests/formatting/WPRelNoFollow.php

    r45991 r46022  
    7777
    7878    public function test_append_no_follow_with_valueless_attribute() {
    79         $content = '<p>This is some cool <a href="demo.com" download rel="hola">Code</a></p>';
     79        $content  = '<p>This is some cool <a href="demo.com" download rel="hola">Code</a></p>';
    8080        $expected = '<p>This is some cool <a href=\"demo.com\" download rel=\"hola nofollow\">Code</a></p>';
    8181        $this->assertEquals( $expected, wp_rel_nofollow( $content ) );
Note: See TracChangeset for help on using the changeset viewer.