Completed
Branch master (a72540)
by Joseph
01:59
created
shortcodes/subway-shortcodes.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -61,19 +61,19 @@
 block discarded – undo
61 61
 
62 62
 			if ( $theme_template = locate_template( array('gears/shortcodes/'.$file ) ) ) {
63 63
 
64
-	        	$template = $theme_template;
64
+				$template = $theme_template;
65 65
 
66
-	    	}
66
+			}
67 67
 
68
-	    	include $template;
68
+			include $template;
69 69
 
70
-    	} else {
70
+		} else {
71 71
 
72
-	    	echo sprintf( __( 'Subway Error: Unable to find template file in: %1s', 'subway' ), $template );
72
+			echo sprintf( __( 'Subway Error: Unable to find template file in: %1s', 'subway' ), $template );
73 73
 
74
-	    }
74
+		}
75 75
 
76
-	    return ob_get_clean();
76
+		return ob_get_clean();
77 77
 	}
78 78
 
79 79
 	public function __action_lost_password_link( $content ) {
Please login to merge, or discard this patch.
classes/subway-page-redirect.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@  discard block
 block discarded – undo
6 6
 
7 7
 	public static function index() {
8 8
         
9
-        global $post;
9
+		global $post;
10 10
 
11
-        if ( '' == session_id() || ! isset( $_SESSION ) ) {
11
+		if ( '' == session_id() || ! isset( $_SESSION ) ) {
12 12
 
13
-            session_start();
13
+			session_start();
14 14
 
15
-        }
15
+		}
16 16
 
17 17
 		$post_copy = &$post;
18 18
 
@@ -80,11 +80,11 @@  discard block
 block discarded – undo
80 80
 					$_SESSION['redirected'] = true;
81 81
 
82 82
 					wp_safe_redirect( 
83
-                        add_query_arg( 
84
-                            array( '_redirected' => 'yes' ), 
85
-                            $redirect_page 
86
-                        ) 
87
-                    );
83
+						add_query_arg( 
84
+							array( '_redirected' => 'yes' ), 
85
+							$redirect_page 
86
+						) 
87
+					);
88 88
 
89 89
 					die();
90 90
 
Please login to merge, or discard this patch.