Cyclone Slider - Version 2.5.3

Version Description

  • 2013-05-10
Download this release

Release Info

Developer kosinix
Plugin Icon 128x128 Cyclone Slider
Version 2.5.3
Comparing to
See all releases

Code changes from version 2.5.2 to 2.5.3

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.codefleet.net/donate/
4
  Tags: slider, slideshow, jquery, cycle 2, responsive, multilingual support, custom post, cyclone slider
5
  Requires at least: 3.3.2
6
  Tested up to: 3.5.1
7
- Stable tag: 2.5.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -89,6 +89,9 @@ Inside your theme create a folder named "cycloneslider". Add your templates insi
89
 
90
  == Changelog ==
91
 
 
 
 
92
  = 2.5.2 - 2013-04-26 =
93
  * Added template asset loader to get rid of the compiled css and js that are rewritten on the file system on every save
94
  * Move template handling logic to its own class to be used by the template asset loader independently
@@ -172,6 +175,9 @@ Inside your theme create a folder named "cycloneslider". Add your templates insi
172
 
173
  == Upgrade Notice ==
174
 
 
 
 
175
  = 2.5.2 - 2013-04-26 =
176
  * Added template asset loader to get rid of the compiled css and js that are rewritten on the file system on every save
177
  * Move template handling logic to its own class to be used by the template asset loader independently
4
  Tags: slider, slideshow, jquery, cycle 2, responsive, multilingual support, custom post, cyclone slider
5
  Requires at least: 3.3.2
6
  Tested up to: 3.5.1
7
+ Stable tag: 2.5.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
89
 
90
  == Changelog ==
91
 
92
+ = 2.5.3 - 2013-05-10 =
93
+ * Bug fix for child themes where slider is not working
94
+
95
  = 2.5.2 - 2013-04-26 =
96
  * Added template asset loader to get rid of the compiled css and js that are rewritten on the file system on every save
97
  * Move template handling logic to its own class to be used by the template asset loader independently
175
 
176
  == Upgrade Notice ==
177
 
178
+ = 2.5.3 - 2013-05-10 =
179
+ * Bug fix for child themes where slider is not working
180
+
181
  = 2.5.2 - 2013-04-26 =
182
  * Added template asset loader to get rid of the compiled css and js that are rewritten on the file system on every save
183
  * Move template handling logic to its own class to be used by the template asset loader independently
cyclone-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Cyclone Slider 2
4
  Plugin URI: http://www.codefleet.net/cyclone-slider-2/
5
  Description: Create responsive slideshows with ease. Built for both developers and non-developers.
6
- Version: 2.5.2
7
  Author: Nico Amarilla
8
  Author URI: http://www.codefleet.net/
9
  License:
@@ -25,7 +25,7 @@ License:
25
 
26
  */
27
  if(!defined('CYCLONE_VERSION')){
28
- define('CYCLONE_VERSION', '2.5.2' );
29
  }
30
  if(!defined('CYCLONE_PATH')){
31
  define('CYCLONE_PATH', realpath(plugin_dir_path(__FILE__)) . DIRECTORY_SEPARATOR );
3
  Plugin Name: Cyclone Slider 2
4
  Plugin URI: http://www.codefleet.net/cyclone-slider-2/
5
  Description: Create responsive slideshows with ease. Built for both developers and non-developers.
6
+ Version: 2.5.3
7
  Author: Nico Amarilla
8
  Author URI: http://www.codefleet.net/
9
  License:
25
 
26
  */
27
  if(!defined('CYCLONE_VERSION')){
28
+ define('CYCLONE_VERSION', '2.5.3' );
29
  }
30
  if(!defined('CYCLONE_PATH')){
31
  define('CYCLONE_PATH', realpath(plugin_dir_path(__FILE__)) . DIRECTORY_SEPARATOR );
inc/class-cyclone-slider.php CHANGED
@@ -132,15 +132,15 @@ if(!class_exists('Cyclone_Slider')):
132
  * Registers and enqueues frontend-specific scripts.
133
  */
134
  public function register_plugin_scripts() {
135
- $theme = wp_get_theme();
136
 
137
  /*** Styles ***/
138
- wp_enqueue_style( 'cyclone-templates-styles', self::url().'template-assets.php?type=css&theme='.$theme->template, array(), CYCLONE_VERSION );
139
 
140
  /*** Scripts ***/
141
  wp_enqueue_script( 'cyclone-slider', self::url().'js/cyclone-slider.min.js', array('jquery'), CYCLONE_VERSION ); //Consolidated cycle2 script and plugins
142
 
143
- wp_enqueue_script( 'cyclone-templates-scripts', self::url().'template-assets.php?type=js&theme='.$theme->template, array('jquery'), CYCLONE_VERSION );//Contains our combined css from ALL templates
144
 
145
  }
146
 
132
  * Registers and enqueues frontend-specific scripts.
133
  */
134
  public function register_plugin_scripts() {
135
+ $theme_folder = basename(get_stylesheet_directory());
136
 
137
  /*** Styles ***/
138
+ wp_enqueue_style( 'cyclone-templates-styles', self::url().'template-assets.php?type=css&theme='.$theme_folder, array(), CYCLONE_VERSION );
139
 
140
  /*** Scripts ***/
141
  wp_enqueue_script( 'cyclone-slider', self::url().'js/cyclone-slider.min.js', array('jquery'), CYCLONE_VERSION ); //Consolidated cycle2 script and plugins
142
 
143
+ wp_enqueue_script( 'cyclone-templates-scripts', self::url().'template-assets.php?type=js&theme='.$theme_folder, array('jquery'), CYCLONE_VERSION );//Contains our combined css from ALL templates
144
 
145
  }
146