forked from mirror/_s
Merge pull request #1320 from szepeviktor/patch-2
Unscramble echo to readable printf
This commit is contained in:
commit
c0bea3ea0e
|
@ -31,7 +31,7 @@ add_filter( 'body_class', '_s_body_classes' );
|
|||
*/
|
||||
function _s_pingback_header() {
|
||||
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' );
|
||||
|
|
Reference in New Issue