PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.0.3
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.0.3
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
← All changes | vendor/codeinwp/themeisle-sdk/load.php +3 -17 3.1.33.0.3 View file →
@@ -9,40 +9,26 @@
9 9 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
10 10 * @since 1.1.0
11 11 */
12 12
13 -if ( ! defined( 'ABSPATH' ) ) {
14 - return;
15 -}
16 13 // Current SDK version and path.
17 -$themeisle_sdk_version = '3.0.4';
14 +$themeisle_sdk_version = '1.9.1';
18 15 $themeisle_sdk_path = dirname( __FILE__ );
19 16
20 17 global $themeisle_sdk_max_version;
21 18 global $themeisle_sdk_max_path;
22 19
23 -if ( version_compare( $themeisle_sdk_version, $themeisle_sdk_max_path ) == 0 &&
24 - apply_filters( 'themeisle_sdk_should_overwrite_path', false, $themeisle_sdk_path, $themeisle_sdk_max_path ) ) {
25 - $themeisle_sdk_max_path = $themeisle_sdk_path;
26 -}
27 -
28 -if ( version_compare( $themeisle_sdk_version, $themeisle_sdk_max_version ) > 0 ) {
20 +if ( version_compare( $themeisle_sdk_version, $themeisle_sdk_max_version ) >= 0 ) {
29 21 $themeisle_sdk_max_version = $themeisle_sdk_version;
30 22 $themeisle_sdk_max_path = $themeisle_sdk_path;
31 23 }
32 24
33 -// load the latest sdk version from the active Themeisle products.
25 +// load the latest sdk version from the active Themeisle products
34 26 if ( ! function_exists( 'themeisle_sdk_load_latest' ) ) :
35 27 /**
36 28 * Always load the latest sdk version.
37 29 */
38 30 function themeisle_sdk_load_latest() {
39 - /**
40 - * Don't load the library if we are on < 5.4.
41 - */
42 - if ( version_compare( PHP_VERSION, '5.4.32', '<' ) ) {
43 - return;
44 - }
45 31 global $themeisle_sdk_max_path;
46 32 require_once $themeisle_sdk_max_path . '/start.php';
47 33 }
48 34 endif;