Unscramble echo to readable printf
Is it OK?
This commit is contained in:
parent
9274f322d0
commit
399c891927
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ add_filter( 'body_class', '_s_body_classes' );
|
||||||
*/
|
*/
|
||||||
function _s_pingback_header() {
|
function _s_pingback_header() {
|
||||||
if ( is_singular() && pings_open() ) {
|
if ( is_singular() && pings_open() ) {
|
||||||
echo '<link rel="pingback" href="', esc_url( get_bloginfo( 'pingback_url' ) ), '">';
|
printf( '<link rel="pingback" href="%s">', esc_url( get_bloginfo( 'pingback_url' ) ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_action( 'wp_head', '_s_pingback_header' );
|
add_action( 'wp_head', '_s_pingback_header' );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue