forked from mirror/_s
parent
9274f322d0
commit
399c891927
|
@ -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