diff --git a/functions.php b/functions.php index b4eff0be..c68a5f52 100644 --- a/functions.php +++ b/functions.php @@ -117,16 +117,6 @@ function _s_scripts() { } add_action( 'wp_enqueue_scripts', '_s_scripts' ); -/** - * Add a pingback url auto-discovery header for singularly identifiable articles. - */ -function _s_pingback_header() { - if ( is_singular() && pings_open() ) { - echo ''; - } -} -add_action( 'wp_head', '_s_pingback_header' ); - /** * Implement the Custom Header feature. */ diff --git a/inc/template-functions.php b/inc/template-functions.php index 63e7e294..ae8e23e9 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -1,6 +1,6 @@ '; + } +} +add_action( 'wp_head', '_s_pingback_header' );