forked from mirror/_s
Merge pull request #1035 from bjorn2404/master
The header change to use a get_bloginfo : props @bjorn2404 Can you please make sure you explain beyond just using technical calls.
This commit is contained in:
commit
6e04a5f802
|
@ -33,7 +33,7 @@ add_filter( 'body_class', '_s_body_classes' );
|
|||
*/
|
||||
function _s_pingback_header() {
|
||||
if ( is_singular() && pings_open() ) {
|
||||
echo '<link rel="pingback" href="', bloginfo( 'pingback_url' ), '">';
|
||||
echo '<link rel="pingback" href="', esc_url( get_bloginfo( 'pingback_url' ) ), '">';
|
||||
}
|
||||
}
|
||||
add_action( 'wp_head', '_s_pingback_header' );
|
||||
|
|
Reference in New Issue