Changeset 45144
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-media-image.php
r45100 r45144 267 267 $link .= $image; 268 268 $link .= '</a>'; 269 $image = $link;269 $image = wp_targeted_link_rel( $link ); 270 270 } 271 271 -
trunk/tests/phpunit/tests/widgets/media-image-widget.php
r45103 r45144 542 542 $this->assertContains( '<a href="https://example.org"', $output ); 543 543 $this->assertContains( 'target="_blank"', $output ); 544 $this->assertContains( 'rel="noopener noreferrer"', $output ); 544 545 545 546 // Populate caption in attachment.
Note: See TracChangeset
for help on using the changeset viewer.