diff --git a/inc/template-tags.php b/inc/template-tags.php index bd993ec..f9ad260 100755 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -102,7 +102,7 @@ function sunflower_entry_footer( $show_sharers = false ) { */ function sunflower_the_social_media_sharers() { - $sharer = []; + $sharer = array(); if ( sunflower_get_setting( 'sunflower_sharer_twitter' ) || sunflower_get_setting( 'sunflower_sharer_x_twitter' ) ) { $sharer[] = sprintf( '', @@ -137,10 +137,10 @@ function sunflower_the_social_media_sharers() { ); } - if ( count($sharer) > 0 ) { + if ( count( $sharer ) > 0 ) { printf( '
%s
', - implode(' ', $sharer) + wp_kses_post( implode( ' ', $sharer ) ) ); } }