Skip to content

Commit 60973f7

Browse files
committed
fixup! WIP: Explore using the HTML API for link rel processing
1 parent f34afaa commit 60973f7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/wp-includes/formatting.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3260,7 +3260,8 @@ function wp_targeted_link_rel( $text ) {
32603260
continue;
32613261
}
32623262

3263-
$rel = $p->get_attribute( 'rel' ) || '';
3263+
$rel = $p->get_attribute( 'rel' );
3264+
$rel = true === $rel ? "" : $rel;
32643265
$link_text = "rel=\"{$rel}\"";
32653266

32663267
/**

0 commit comments

Comments
 (0)