Skip to content

Commit

Permalink
Merge pull request #798 from emiluzelac/patch-42
Browse files Browse the repository at this point in the history
Since 4.3 is now released, we no longer require backward-compatibility for versions older than 4.1 and this can be removed.
  • Loading branch information
sarahmonster committed Aug 21, 2015
2 parents d02cc4f + 6f621af commit 8e9678b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions inc/extras.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,4 @@ function _s_wp_title( $title, $sep ) {
return $title;
}
add_filter( 'wp_title', '_s_wp_title', 10, 2 );

/**
* Title shim for sites older than WordPress 4.1.
*
* @link https://make.wordpress.org/core/2014/10/29/title-tags-in-4-1/
* @todo Remove this function when WordPress 4.3 is released.
*/
function _s_render_title() {
?>
<title><?php wp_title( '|', true, 'right' ); ?></title>
<?php
}
add_action( 'wp_head', '_s_render_title' );
endif;

1 comment on commit 8e9678b

@philiparthurmoore
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed but not _s_wp_title as well?

Please sign in to comment.