Completed
Push — master ( ed64c2...186a7a )
by
unknown
8s
created
app/classes/helper.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -236,29 +236,29 @@
 block discarded – undo
236 236
 		$textdomain = Classy::textdomain();
237 237
 		$archives_title = 'Archives';
238 238
 
239
-	    if ( is_category() ) {
240
-	        $archives_title = single_cat_title( '', false );
241
-	    } else if ( is_tag() ) {
242
-	        $archives_title = 'Tag: ' . single_tag_title( '', false );
243
-	    } else if ( is_author() ) {
244
-	        if ( have_posts() ) {
245
-	            the_post();
246
-	            $archives_title = 'Author: ' . get_the_author();
247
-	        }
239
+		if ( is_category() ) {
240
+			$archives_title = single_cat_title( '', false );
241
+		} else if ( is_tag() ) {
242
+			$archives_title = 'Tag: ' . single_tag_title( '', false );
243
+		} else if ( is_author() ) {
244
+			if ( have_posts() ) {
245
+				the_post();
246
+				$archives_title = 'Author: ' . get_the_author();
247
+			}
248 248
 
249
-	        rewind_posts();
250
-	    } else if ( is_search() ) {
251
-	        $archives_title = sprintf( __( 'Search Results for: %s', $textdomain ), '<span>' . get_search_query() . '</span>' );
252
-	    } else if ( is_archive() ) {
253
-	        if ( is_day() ) {
254
-	            $archives_title = get_the_date();
255
-	        } elseif ( is_month() ) {
256
-	            $archives_title = get_the_date( _x( 'F Y', 'monthly archives date format', $textdomain ) );
257
-	        } elseif ( is_year() ) {
258
-	            $archives_title = get_the_date( _x( 'Y', 'yearly archives date format', $textdomain ) );
259
-	        }
249
+			rewind_posts();
250
+		} else if ( is_search() ) {
251
+			$archives_title = sprintf( __( 'Search Results for: %s', $textdomain ), '<span>' . get_search_query() . '</span>' );
252
+		} else if ( is_archive() ) {
253
+			if ( is_day() ) {
254
+				$archives_title = get_the_date();
255
+			} elseif ( is_month() ) {
256
+				$archives_title = get_the_date( _x( 'F Y', 'monthly archives date format', $textdomain ) );
257
+			} elseif ( is_year() ) {
258
+				$archives_title = get_the_date( _x( 'Y', 'yearly archives date format', $textdomain ) );
259
+			}
260 260
 		}
261 261
 
262
-	    return $archives_title;
262
+		return $archives_title;
263 263
 	}
264 264
 }
Please login to merge, or discard this patch.