Gallery Carousel Without JetPack - Version 0.7.1

Version Description

  • Prevent conflict where Jetpack or Slim Jetpack is already active
Download this release

Release Info

Developer n7studios
Plugin Icon 128x128 Gallery Carousel Without JetPack
Version 0.7.1
Comparing to
See all releases

Code changes from version 0.7 to 0.7.1

carousel-without-jetpack.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Gallery Carousel Without JetPack
4
  Plugin URI: http://www.wpbeginner.com/
5
  Description: Transform your standard galleries into an immersive full-screen experience without requiring you to connect to WordPress.com
6
- Version: 0.7
7
  Author: Syed Balkhi
8
  Author URI: http://www.wpbeginner.com
9
  License: GPLv2 or later
@@ -30,14 +30,14 @@ class CarouselWithoutJetpack {
30
  $this->plugin->name = 'carousel-without-jetpack'; // Plugin Folder
31
  $this->plugin->folder = WP_PLUGIN_DIR.'/'.$this->plugin->name; // Full Path to Plugin Folder
32
  $this->plugin->url = WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); // Full URL to Plugin Folder
33
-
34
  // Include class.jetpack-options.php
35
  // Ignore if Jetpack or another plugin has already done this
36
- if (!class_exists('Jetpack_Options')) {
37
  require_once($this->plugin->folder.'/carousel/class.jetpack-options.php');
38
  }
39
 
40
- // Include class.jetpack-options.php
41
  // Ignore if Jetpack or another plugin has already done this
42
  if (!class_exists('No_Jetpack_Carousel')) {
43
  require_once($this->plugin->folder.'/carousel/jetpack-carousel.php');
3
  Plugin Name: Gallery Carousel Without JetPack
4
  Plugin URI: http://www.wpbeginner.com/
5
  Description: Transform your standard galleries into an immersive full-screen experience without requiring you to connect to WordPress.com
6
+ Version: 0.7.1
7
  Author: Syed Balkhi
8
  Author URI: http://www.wpbeginner.com
9
  License: GPLv2 or later
30
  $this->plugin->name = 'carousel-without-jetpack'; // Plugin Folder
31
  $this->plugin->folder = WP_PLUGIN_DIR.'/'.$this->plugin->name; // Full Path to Plugin Folder
32
  $this->plugin->url = WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); // Full URL to Plugin Folder
33
+
34
  // Include class.jetpack-options.php
35
  // Ignore if Jetpack or another plugin has already done this
36
+ if (!class_exists('No_Jetpack_Options')) {
37
  require_once($this->plugin->folder.'/carousel/class.jetpack-options.php');
38
  }
39
 
40
+ // Include No_Jetpack_Carousel
41
  // Ignore if Jetpack or another plugin has already done this
42
  if (!class_exists('No_Jetpack_Carousel')) {
43
  require_once($this->plugin->folder.'/carousel/jetpack-carousel.php');
carousel/class.jetpack-options.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class Jetpack_Options {
4
 
5
  public static function get_option_names( $type = 'compact' ) {
6
  switch ( $type ) {
1
  <?php
2
 
3
+ class No_Jetpack_Options {
4
 
5
  public static function get_option_names( $type = 'compact' ) {
6
  switch ( $type ) {
carousel/jetpack-carousel.php CHANGED
@@ -218,7 +218,7 @@ class No_Jetpack_Carousel {
218
  if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
219
  $likes_blog_id = $blog_id;
220
  } else {
221
- $likes_blog_id = Jetpack_Options::get_option( 'id' );
222
  }
223
 
224
  $extra_data = array(
218
  if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
219
  $likes_blog_id = $blog_id;
220
  } else {
221
+ $likes_blog_id = No_Jetpack_Options::get_option( 'id' );
222
  }
223
 
224
  $extra_data = array(
readme.txt CHANGED
@@ -63,6 +63,9 @@ However, if you want to turn off comments on Media attachments, you can follow t
63
 
64
  == Changelog ==
65
 
 
 
 
66
  = 0.7 =
67
  * Updated it to match original JetPack plugin updates from 2.9.3
68
 
63
 
64
  == Changelog ==
65
 
66
+ = 0.7.1 =
67
+ * Prevent conflict where Jetpack or Slim Jetpack is already active
68
+
69
  = 0.7 =
70
  * Updated it to match original JetPack plugin updates from 2.9.3
71