Completed
Pull Request — develop (#1706)
by
unknown
20:09
created
future/includes/class-gv-license-handler.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 			'author'    => self::author,
99 99
 			'language'  => get_locale(),
100 100
 			'url'       => home_url(),
101
-		    'beta'      => $this->settings->get( 'beta' ),
101
+			'beta'      => $this->settings->get( 'beta' ),
102 102
 			'php_version' => phpversion(),
103 103
 			'wp_version' => get_bloginfo( 'version' ),
104 104
 			'gv_version' => \GV\Plugin::$version,
@@ -522,7 +522,7 @@  discard block
 block discarded – undo
522 522
 	private function license_call_update_settings( $license_data, $data ) {
523 523
 		$settings = array();
524 524
 
525
-        $settings['license_key'] = $license_data->license_key = trim( $data['license'] );
525
+		$settings['license_key'] = $license_data->license_key = trim( $data['license'] );
526 526
 		$settings['license_key_status'] = $license_data->license;
527 527
 		$settings['license_key_response'] = (array)$license_data;
528 528
 
@@ -663,14 +663,14 @@  discard block
 block discarded – undo
663 663
 			// Call the custom API.
664 664
 			$response = wp_remote_post( self::url, array(
665 665
 				'timeout'   => 15,
666
-			    'sslverify' => false,
667
-			    'body'      =>  array(
668
-				    'edd_action' => 'check_license',
669
-				    'license'    => trim( $this->settings->get( 'license_key' ) ),
670
-				    'item_name'  => self::name,
671
-				    'url'        => home_url(),
672
-				    'site_data'  => $this->get_site_data(),
673
-			    ),
666
+				'sslverify' => false,
667
+				'body'      =>  array(
668
+					'edd_action' => 'check_license',
669
+					'license'    => trim( $this->settings->get( 'license_key' ) ),
670
+					'item_name'  => self::name,
671
+					'url'        => home_url(),
672
+					'site_data'  => $this->get_site_data(),
673
+				),
674 674
 			));
675 675
 
676 676
 			// make sure the response came back okay
Please login to merge, or discard this patch.
future/includes/class-gv-extension.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -311,17 +311,17 @@
 block discarded – undo
311 311
 			$this->_remote_update_url,
312 312
 			$this->_path,
313 313
 			array(
314
-            	'version'	=> $this->_version, // current version number
315
-            	'license'	=> \GV\Utils::get( $license, 'license_key', \GV\Utils::get( $license, 'license', null ) ),
316
-	            'item_id'   => $this->_item_id, // The ID of the download on _remote_update_url
317
-            	'item_name' => $this->_title,  // name of this plugin
318
-            	'author' 	=> strip_tags( $this->_author ),  // author of this plugin
319
-	            'php_version' => phpversion(),
320
-	            'wp_version' => get_bloginfo( 'version' ),
321
-	            'gv_version' => \GV\Plugin::$version,
322
-	            'environment' => function_exists( 'wp_get_environment_type' ) ? wp_get_environment_type() : 'production',
323
-          	)
324
-        );
314
+				'version'	=> $this->_version, // current version number
315
+				'license'	=> \GV\Utils::get( $license, 'license_key', \GV\Utils::get( $license, 'license', null ) ),
316
+				'item_id'   => $this->_item_id, // The ID of the download on _remote_update_url
317
+				'item_name' => $this->_title,  // name of this plugin
318
+				'author' 	=> strip_tags( $this->_author ),  // author of this plugin
319
+				'php_version' => phpversion(),
320
+				'wp_version' => get_bloginfo( 'version' ),
321
+				'gv_version' => \GV\Plugin::$version,
322
+				'environment' => function_exists( 'wp_get_environment_type' ) ? wp_get_environment_type() : 'production',
323
+		  	)
324
+		);
325 325
 	}
326 326
 
327 327
 	/**
Please login to merge, or discard this patch.