PluginProbe
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites / 1.3.5
BlockSpare – Gutenberg Blocks for News, Magazine, Blog & Business Websites v1.3.5
4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 2.6.1 All 38 releases
← All changes | freemius/config.php +6 -10 trunk1.3.5 View file →
@@ -1,4 +1,4 @@
1 1 <?php
2 2 /**
3 3 * @package Freemius
4 4 * @copyright Copyright (c) 2015, Freemius, Inc.
@@ -145,9 +145,9 @@
145 145 #region HTTP
146 146 #--------------------------------------------------------------------------------
147 147
148 148 if ( ! defined( 'WP_FS__IS_HTTP_REQUEST' ) ) {
149 - define( 'WP_FS__IS_HTTP_REQUEST', isset( $_SERVER['HTTP_HOST'] ) && isset( $_SERVER['REQUEST_METHOD'] ) );
149 + define( 'WP_FS__IS_HTTP_REQUEST', isset( $_SERVER['HTTP_HOST'] ) );
150 150 }
151 151
152 152 if ( ! defined( 'WP_FS__IS_HTTPS' ) ) {
153 153 define( 'WP_FS__IS_HTTPS', ( WP_FS__IS_HTTP_REQUEST &&
@@ -209,12 +209,8 @@
209 209 if ( ! defined( 'WP_FS__API_SANDBOX_ADDRESS_LOCALHOST' ) ) {
210 210 define( 'WP_FS__API_SANDBOX_ADDRESS_LOCALHOST', 'http://sandbox-api.freemius:8080' );
211 211 }
212 212
213 - if ( ! defined( 'WP_FS__API_TIMEOUT' ) ) {
214 - define( 'WP_FS__API_TIMEOUT', 30 );
215 - }
216 -
217 213 // Set API address for local testing.
218 214 if ( ! WP_FS__IS_PRODUCTION_MODE ) {
219 215 if ( ! defined( 'FS_API__ADDRESS' ) ) {
220 216 define( 'FS_API__ADDRESS', WP_FS__API_ADDRESS_LOCALHOST );
@@ -357,9 +353,9 @@
357 353 define( 'WP_FS__IS_NETWORK_ADMIN',
358 354 is_multisite() &&
359 355 ( is_network_admin() ||
360 356 ( ( defined( 'DOING_AJAX' ) && DOING_AJAX &&
361 - ( isset( $_REQUEST['_fs_network_admin'] ) && 'true' === $_REQUEST['_fs_network_admin'] /*||
357 + ( isset( $_REQUEST['_fs_network_admin'] ) /*||
362 358 ( ! empty( $_REQUEST['action'] ) && 'delete-plugin' === $_REQUEST['action'] )*/ )
363 359 ) ||
364 360 // Plugin uninstall.
365 361 defined( 'WP_UNINSTALL_PLUGIN' ) )
@@ -388,8 +384,8 @@
388 384 #endregion
389 385
390 386 if ( ! defined( 'WP_FS__DEMO_MODE' ) ) {
391 387 define( 'WP_FS__DEMO_MODE', false );
392 - }
393 - if ( ! defined( 'FS_SDK__SSLVERIFY' ) ) {
394 - define( 'FS_SDK__SSLVERIFY', false );
395 - }
388 + }
389 + if ( ! defined( 'FS_SDK__SSLVERIFY' ) ) {
390 + define( 'FS_SDK__SSLVERIFY', false );
391 + }