Skip to content

Commit

Permalink
Updated to support theme check's strictness
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottSmith95 committed Dec 22, 2014
1 parent c7155cf commit 8a97095
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inc/extras.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ function decode_wp_title( $title, $sep, $sep_location ) {
*/
if ( ! function_exists( '_wp_render_title_tag' ) ) :
function decode_render_title() {
echo '<title>' . wp_title( '|', false, 'right' ) . "</title>\n";
?>
<title><?php wp_title( '|', false, 'right' ); ?></title>
<?php
}
add_action( 'wp_head', 'decode_render_title' );
endif;
Expand Down

0 comments on commit 8a97095

Please sign in to comment.