Carousel, Slider, Gallery by WP Carousel – Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce - Version 2.1.16

Version Description

Dec 30, 2020 = * Fix: Version compatibility issue.

Download this release

Release Info

Developer shapedplugin
Plugin Icon 128x128 Carousel, Slider, Gallery by WP Carousel – Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce
Version 2.1.16
Comparing to
See all releases

Code changes from version 2.1.15 to 2.1.16

admin/views/metabox-config.php CHANGED
@@ -531,11 +531,11 @@ SP_WPCF::createSection(
531
  'options' => array(
532
  'bottom' => array(
533
  'image' => plugin_dir_url( __DIR__ ) . 'img/bottom.svg',
534
- 'text' => __( 'bottom', 'wp-carousel-pro' ),
535
  ),
536
  'top' => array(
537
  'image' => plugin_dir_url( __DIR__ ) . 'img/top.svg',
538
- 'text' => __( 'top', 'wp-carousel-pro' ),
539
  'pro_only' => true,
540
  ),
541
  'on_right' => array(
@@ -545,7 +545,7 @@ SP_WPCF::createSection(
545
  ),
546
  'on_left' => array(
547
  'image' => plugin_dir_url( __DIR__ ) . 'img/left.svg',
548
- 'text' => __( 'left', 'wp-carousel-pro' ),
549
  'pro_only' => true,
550
  ),
551
  'with_overlay' => array(
531
  'options' => array(
532
  'bottom' => array(
533
  'image' => plugin_dir_url( __DIR__ ) . 'img/bottom.svg',
534
+ 'text' => __( 'Bottom', 'wp-carousel-pro' ),
535
  ),
536
  'top' => array(
537
  'image' => plugin_dir_url( __DIR__ ) . 'img/top.svg',
538
+ 'text' => __( 'Top', 'wp-carousel-pro' ),
539
  'pro_only' => true,
540
  ),
541
  'on_right' => array(
545
  ),
546
  'on_left' => array(
547
  'image' => plugin_dir_url( __DIR__ ) . 'img/left.svg',
548
+ 'text' => __( 'Left', 'wp-carousel-pro' ),
549
  'pro_only' => true,
550
  ),
551
  'with_overlay' => array(
includes/updates/update-2.1.7.php CHANGED
@@ -2,5 +2,5 @@
2
  /**
3
  * Update version.
4
  */
5
- update_option( 'wp_carousel_free_version', WPCAROUSELF_VERSION );
6
- update_option( 'wp_carousel_free_db_version', WPCAROUSELF_VERSION );
2
  /**
3
  * Update version.
4
  */
5
+ update_option( 'wp_carousel_free_version', '2.1.7' );
6
+ update_option( 'wp_carousel_free_db_version', '2.1.7' );
readme.txt CHANGED
@@ -326,6 +326,9 @@ Thank you!
326
 
327
  == Changelog ==
328
 
 
 
 
329
  = 2.1.15 – Dec 29, 2020 =
330
  * Fix: Dynamic CSS issue.
331
  * Tested: WordPress 5.6 version.
326
 
327
  == Changelog ==
328
 
329
+ = 2.1.16 – Dec 30, 2020 =
330
+ * Fix: Version compatibility issue.
331
+
332
  = 2.1.15 – Dec 29, 2020 =
333
  * Fix: Dynamic CSS issue.
334
  * Tested: WordPress 5.6 version.
wp-carousel-free.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin Name: WordPress Carousel
10
  * Plugin URI: https://shapedplugin.com/plugin/wordpress-carousel-pro/
11
  * Description: The Most Powerful and User-friendly WordPress Carousel Plugin. Create beautiful carousels in minutes using Images, Posts, WooCommerce Products etc.
12
- * Version: 2.1.15
13
  * Author: ShapedPlugin
14
  * Author URI: https://shapedplugin.com/
15
  * License: GPL-2.0+
@@ -25,17 +25,6 @@ if ( ! defined( 'WPINC' ) ) {
25
  die;
26
  }
27
 
28
- /**
29
- * The code that runs during plugin activation.
30
- * This action is documented in includes/class-wp-carousel-free-activator.php
31
- */
32
- function activate_wp_carousel_free() {
33
- include_once WPCAROUSELF_PATH . '/includes/class-wp-carousel-free-activator.php';
34
- WP_Carousel_Free_Activator::activate();
35
- }
36
- register_activation_hook( __FILE__, 'activate_wp_carousel_free' );
37
-
38
-
39
  /**
40
  * Main class of the plugin
41
  *
@@ -130,7 +119,7 @@ class SP_WP_Carousel_Free {
130
  */
131
  public function setup() {
132
  $this->plugin_name = 'wp-carousel-free';
133
- $this->version = '2.1.15';
134
  $this->define_constants();
135
  $this->includes();
136
  $this->load_dependencies();
@@ -185,12 +174,10 @@ class SP_WP_Carousel_Free {
185
  include_once WPCAROUSELF_PATH . '/public/shortcode-deprecated.php';
186
  include_once WPCAROUSELF_INCLUDES . '/class-wp-carousel-free-i18n.php';
187
  include_once WPCAROUSELF_PATH . '/public/class-wp-carousel-free-public.php';
188
- // if ( is_admin() ) {
189
  include_once WPCAROUSELF_PATH . '/admin/class-wp-carousel-free-admin.php';
190
  include_once WPCAROUSELF_PATH . '/admin/views/tmce-button.php';
191
  include_once WPCAROUSELF_PATH . '/admin/views/help.php';
192
  include_once WPCAROUSELF_PATH . '/admin/views/premium.php';
193
- // }
194
  }
195
 
196
  /**
@@ -344,5 +331,9 @@ function sp_wpcf() {
344
  $plugin = SP_WP_Carousel_Free::init();
345
  $plugin->loader->run();
346
  }
347
- // Launch it out .
348
- sp_wpcf();
 
 
 
 
9
  * Plugin Name: WordPress Carousel
10
  * Plugin URI: https://shapedplugin.com/plugin/wordpress-carousel-pro/
11
  * Description: The Most Powerful and User-friendly WordPress Carousel Plugin. Create beautiful carousels in minutes using Images, Posts, WooCommerce Products etc.
12
+ * Version: 2.1.16
13
  * Author: ShapedPlugin
14
  * Author URI: https://shapedplugin.com/
15
  * License: GPL-2.0+
25
  die;
26
  }
27
 
 
 
 
 
 
 
 
 
 
 
 
28
  /**
29
  * Main class of the plugin
30
  *
119
  */
120
  public function setup() {
121
  $this->plugin_name = 'wp-carousel-free';
122
+ $this->version = '2.1.16';
123
  $this->define_constants();
124
  $this->includes();
125
  $this->load_dependencies();
174
  include_once WPCAROUSELF_PATH . '/public/shortcode-deprecated.php';
175
  include_once WPCAROUSELF_INCLUDES . '/class-wp-carousel-free-i18n.php';
176
  include_once WPCAROUSELF_PATH . '/public/class-wp-carousel-free-public.php';
 
177
  include_once WPCAROUSELF_PATH . '/admin/class-wp-carousel-free-admin.php';
178
  include_once WPCAROUSELF_PATH . '/admin/views/tmce-button.php';
179
  include_once WPCAROUSELF_PATH . '/admin/views/help.php';
180
  include_once WPCAROUSELF_PATH . '/admin/views/premium.php';
 
181
  }
182
 
183
  /**
331
  $plugin = SP_WP_Carousel_Free::init();
332
  $plugin->loader->run();
333
  }
334
+
335
+ include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
336
+ if( ! ( is_plugin_active( 'wp-carousel-pro/wp-carousel-pro.php' ) || is_plugin_active_for_network( 'wp-carousel-pro/wp-carousel-pro.php' ) ) ) {
337
+ // Launch it out .
338
+ sp_wpcf();
339
+ }