Completed
Pull Request — develop (#1130)
by Zack
15:48
created
includes/class-admin-installer.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -254,12 +254,12 @@  discard block
 block discarded – undo
254 254
 	protected function render_extension( $extension, $wp_plugins ) {
255 255
 
256 256
 		$extension_info = wp_parse_args( (array) $extension['info'], array(
257
-		    'thumbnail' => '',
258
-            'title' => '',
259
-            'textdomain' => '',
260
-            'slug' => '',
261
-            'excerpt' => '',
262
-        ) );
257
+			'thumbnail' => '',
258
+			'title' => '',
259
+			'textdomain' => '',
260
+			'slug' => '',
261
+			'excerpt' => '',
262
+		) );
263 263
 
264 264
 		?>
265 265
         <div class="item">
@@ -270,9 +270,9 @@  discard block
 block discarded – undo
270 270
                 </h3>
271 271
                 <div><?php
272 272
 
273
-	                $wp_plugin = \GV\Utils::get( $wp_plugins, $extension_info['textdomain'], false );
273
+					$wp_plugin = \GV\Utils::get( $wp_plugins, $extension_info['textdomain'], false );
274 274
 
275
-                    $href = $plugin_path = '#';
275
+					$href = $plugin_path = '#';
276 276
 
277 277
 					if ( ! $wp_plugin ) {
278 278
 
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
 						);
287 287
 
288 288
 						$status = 'notinstalled';
289
-	                    $status_label = __( 'Not Installed', 'gravityview' );
289
+						$status_label = __( 'Not Installed', 'gravityview' );
290 290
 						$button_label = __( 'Install', 'gravityview' );
291 291
 
292 292
 					} else if ( false === $wp_plugin['activated'] ) {
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
 
299 299
 					} else {
300 300
 
301
-					    $plugin_path = $wp_plugin['path'];
301
+						$plugin_path = $wp_plugin['path'];
302 302
 						$status = 'active';
303 303
 						$status_label = __( 'Active', 'gravityview' );
304 304
 						$button_label = __( 'Deactivate', 'gravityview' );
Please login to merge, or discard this patch.