diff --git a/inc/extras.php b/inc/extras.php index 06151ba..02bdeea 100644 --- a/inc/extras.php +++ b/inc/extras.php @@ -35,7 +35,7 @@ function _s_body_classes( $classes ) { } add_filter( 'body_class', '_s_body_classes' ); -if ( ! function_exists( '_wp_render_title_tag' ) ) : +if ( version_compare( $GLOBALS['wp_version'], '4.1', '<' ) ) : /** * Filters wp_title to print a neat