Skip to content

Commit 8a97095

Browse files
committed
Updated to support theme check's strictness
1 parent c7155cf commit 8a97095

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

inc/extras.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ function decode_wp_title( $title, $sep, $sep_location ) {
215215
*/
216216
if ( ! function_exists( '_wp_render_title_tag' ) ) :
217217
function decode_render_title() {
218-
echo '<title>' . wp_title( '|', false, 'right' ) . "</title>\n";
218+
?>
219+
<title><?php wp_title( '|', false, 'right' ); ?></title>
220+
<?php
219221
}
220222
add_action( 'wp_head', 'decode_render_title' );
221223
endif;

0 commit comments

Comments
 (0)