From 2a1a954b984ef6ce0b1269d1ecafb1282b709e69 Mon Sep 17 00:00:00 2001 From: Thomas Guillot Date: Mon, 30 Oct 2017 10:57:58 +0000 Subject: [PATCH] Replace `'echo=0'` with `array( 'echo' => false )` and remove duplicate function --- inc/template-tags.php | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index 19cb67c..fdf1929 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -125,40 +125,7 @@ function _s_post_thumbnail() { - - - -
- -
- - - - - the_title_attribute( 'echo=0' ), + 'alt' => the_title_attribute( array( 'echo' => false ) ), ) ); ?>