Skip to content

Commit 6f621af

Browse files
committed
Remove _s_render_title()
Removing `_s_render_title()`, no longer needed as of 4.3.
1 parent d02cc4f commit 6f621af

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

inc/extras.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,4 @@ function _s_wp_title( $title, $sep ) {
5555
return $title;
5656
}
5757
add_filter( 'wp_title', '_s_wp_title', 10, 2 );
58-
59-
/**
60-
* Title shim for sites older than WordPress 4.1.
61-
*
62-
* @link https://make.wordpress.org/core/2014/10/29/title-tags-in-4-1/
63-
* @todo Remove this function when WordPress 4.3 is released.
64-
*/
65-
function _s_render_title() {
66-
?>
67-
<title><?php wp_title( '|', true, 'right' ); ?></title>
68-
<?php
69-
}
70-
add_action( 'wp_head', '_s_render_title' );
7158
endif;

0 commit comments

Comments
 (0)