mirror of
git://develop.git.wordpress.org/
synced 2025-01-29 10:38:22 +01:00
PHPCS: Fix errors introduced in [44833].
Merges [44858] to the 5.1 branch. git-svn-id: https://develop.svn.wordpress.org/branches/5.1@44859 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
67a2a6feb9
commit
8df47ff01f
@ -3022,11 +3022,11 @@ function wp_rel_nofollow_callback( $matches ) {
|
||||
|
||||
$html = '';
|
||||
foreach ( $atts as $name => $value ) {
|
||||
$html .= "{$name}=\"" . esc_attr( $value ) . "\" ";
|
||||
$html .= "{$name}=\"" . esc_attr( $value ) . '" ';
|
||||
}
|
||||
$text = trim( $html );
|
||||
}
|
||||
return "<a $text rel=\"" . esc_attr( $rel ) . "\">";
|
||||
return "<a $text rel=\"" . esc_attr( $rel ) . '">';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user