Changeset 49215 for trunk/tests/phpunit/tests/menu/walker-nav-menu.php
- Timestamp:
- 10/19/2020 11:37:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/menu/walker-nav-menu.php
r46586 r49215 38 38 39 39 /** 40 * Tests when an item's target is _blank, that rel="noopener noreferrer" is added.40 * Tests when an item's target is _blank, that rel="noopener" is added. 41 41 * 42 42 * @ticket 43290 … … 65 65 $this->walker->start_el( $expected, (object) $item, 0, (object) $args ); 66 66 67 $this->assertSame( "<li id=\"menu-item-{$post_id}\" class=\"menu-item-{$post_id}\"><a target=\"_blank\" rel=\"noopener noreferrer\">{$post_title}</a>", $expected );67 $this->assertSame( "<li id=\"menu-item-{$post_id}\" class=\"menu-item-{$post_id}\"><a target=\"_blank\" rel=\"noopener\">{$post_title}</a>", $expected ); 68 68 } 69 69
Note: See TracChangeset
for help on using the changeset viewer.