@@ -77,19 +77,19 @@ |
||
77 | 77 | |
78 | 78 | if ( $theme_template = locate_template( array('gears/shortcodes/'.$file ) ) ) { |
79 | 79 | |
80 | - $template = $theme_template; |
|
80 | + $template = $theme_template; |
|
81 | 81 | |
82 | - } |
|
82 | + } |
|
83 | 83 | |
84 | - include $template; |
|
84 | + include $template; |
|
85 | 85 | |
86 | - } else { |
|
86 | + } else { |
|
87 | 87 | |
88 | - echo sprintf( esc_html_e( 'Subway Error: Unable to find template file in: %1s', 'subway' ), $template ); |
|
88 | + echo sprintf( esc_html_e( 'Subway Error: Unable to find template file in: %1s', 'subway' ), $template ); |
|
89 | 89 | |
90 | - } |
|
90 | + } |
|
91 | 91 | |
92 | - return ob_get_clean(); |
|
92 | + return ob_get_clean(); |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | public function login_form_action( $__content ) { |
@@ -158,7 +158,7 @@ |
||
158 | 158 | } |
159 | 159 | |
160 | 160 | // Otherwise, return the Subway login page. |
161 | - return $subway_login_page; |
|
161 | + return $subway_login_page; |
|
162 | 162 | |
163 | 163 | } |
164 | 164 |
@@ -78,8 +78,6 @@ |
||
78 | 78 | * Returns the filtered redirect url for the current user. |
79 | 79 | * |
80 | 80 | * @param string $redirect_to The default redirect callback argument. |
81 | - * @param string $request The default redirect request callback argument. |
|
82 | - * @param integer $user The current user logging in. |
|
83 | 81 | * @return string The final redirect url. |
84 | 82 | */ |
85 | 83 | public static function get_login_redirect_url( $redirect_to ) { |