PHPCS: Fix errors introduced in [44833].
git-svn-id: https://develop.svn.wordpress.org/trunk@44858 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bb281f9bd3
commit
c43e43a7ce
@ -3022,11 +3022,11 @@ function wp_rel_nofollow_callback( $matches ) {
|
|||||||
|
|
||||||
$html = '';
|
$html = '';
|
||||||
foreach ( $atts as $name => $value ) {
|
foreach ( $atts as $name => $value ) {
|
||||||
$html .= "{$name}=\"" . esc_attr( $value ) . "\" ";
|
$html .= "{$name}=\"" . esc_attr( $value ) . '" ';
|
||||||
}
|
}
|
||||||
$text = trim( $html );
|
$text = trim( $html );
|
||||||
}
|
}
|
||||||
return "<a $text rel=\"" . esc_attr( $rel ) . "\">";
|
return "<a $text rel=\"" . esc_attr( $rel ) . '">';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user