Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Resolve #224 (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Herman committed Aug 23, 2017
1 parent bbaac72 commit 2155763
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions inc/helpers.php
Expand Up @@ -36,7 +36,7 @@ function primer_get_the_page_title() {

case is_archive() :

$title = get_the_archive_title();
$title = wp_strip_all_tags( get_the_archive_title() );

break;

Expand All @@ -45,10 +45,7 @@ function primer_get_the_page_title() {
$title = sprintf(
/* translators: search term */
esc_html__( 'Search Results for: %s', 'primer' ),
sprintf(
'<span>%s</span>',
get_search_query()
)
get_search_query()
);

break;
Expand Down

0 comments on commit 2155763

Please sign in to comment.