From 1abaebcdaa3bdc189208de6c4f3cefd2ef9787d4 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Tue, 27 Feb 2018 13:59:07 +0100 Subject: [PATCH] CS: correct indentation of a newly introduced function --- inc/template-tags.php | 56 +++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index f02759c5..056291d5 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -112,37 +112,37 @@ if ( ! function_exists( '_s_entry_footer' ) ) : endif; if ( ! function_exists( '_s_post_thumbnail' ) ) : -/** - * Displays an optional post thumbnail. - * - * Wraps the post thumbnail in an anchor element on index views, or a div - * element when on single views. - */ -function _s_post_thumbnail() { - if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { - return; - } + /** + * Displays an optional post thumbnail. + * + * Wraps the post thumbnail in an anchor element on index views, or a div + * element when on single views. + */ + function _s_post_thumbnail() { + if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { + return; + } - if ( is_singular() ) : - ?> + if ( is_singular() ) : + ?> -
- -
+
+ +
- + + + - - -