PHPCS: Fix errors introduced in [44833].
Merges [44858] to the 5.1 branch. Built from https://develop.svn.wordpress.org/branches/5.1@44859 git-svn-id: http://core.svn.wordpress.org/branches/5.1@44691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
630bd65305
commit
17b2ce43f3
|
@ -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 ) . '">';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.1.1-RC1-44843';
|
$wp_version = '5.1.1-RC1-44859';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue