Skip to content

Commit

Permalink
Fixed PHP 8 syntax error.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbohacek committed Oct 14, 2021
1 parent 3fce9b3 commit bb0cd38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
elseif ( is_tag() ) {
$tags = preg_split( "/(\+|,)/", $wp_query->query['tag'] );

$page_title = "Posts tagged #" . implode( $tags, ' #' );
$page_description = "Browsing posts tagged #" . implode( $tags, ' #' ) . ' on Botwiki';
$page_title = "Posts tagged #" . implode( ' #', $tags);
$page_description = "Browsing posts tagged #" . implode( ' #', $tags ) . ' on Botwiki';
$page_thumbnail = get_the_post_thumbnail_url( (int)get_option( 'page_on_front' ) );
}
elseif ( is_tax() ) {
Expand Down

0 comments on commit bb0cd38

Please sign in to comment.