From 399c891927200611f44794877c30ca07a7354db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sat, 22 Sep 2018 06:51:58 +0200 Subject: [PATCH] Unscramble echo to readable printf Is it OK? --- inc/template-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/template-functions.php b/inc/template-functions.php index e38bf38b..4ab2f54b 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -31,7 +31,7 @@ add_filter( 'body_class', '_s_body_classes' ); */ function _s_pingback_header() { if ( is_singular() && pings_open() ) { - echo ''; + printf( '', esc_url( get_bloginfo( 'pingback_url' ) ) ); } } add_action( 'wp_head', '_s_pingback_header' );