Version Description
- Changed required core style loading.
Download this release
Release Info
Developer | codeinwp |
Plugin | Slider by Nivo – Responsive WordPress Image Slider |
Version | 2.0.4 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.0.4
- CHANGELOG.md +4 -0
- assets/css/nivo-slider.css +1 -1
- assets/js/jquery.nivo.slider.pack.js +2 -2
- includes/admin/libs/class-nivo-core-shortcode.php +2 -5
- includes/class-nivo-slider.php +1 -1
- nivo-slider-lite.php +1 -1
- readme.txt +3 -0
- vendor/autoload.php +1 -1
- vendor/autoload_52.php +1 -1
- vendor/composer/autoload_real.php +3 -3
- vendor/composer/autoload_real_52.php +3 -3
CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
### v2.0.3 - 2017-05-10
|
3 |
**Changes:**
|
4 |
- Small changes to .js for better integration with Shop-Isle-Pro
|
1 |
|
2 |
+
### v2.0.4 - 2017-05-12
|
3 |
+
**Changes:**
|
4 |
+
- Changed required core style loading
|
5 |
+
|
6 |
### v2.0.3 - 2017-05-10
|
7 |
**Changes:**
|
8 |
- Small changes to .js for better integration with Shop-Isle-Pro
|
assets/css/nivo-slider.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/*
|
2 |
* jQuery Nivo Slider v3.2
|
3 |
* http://nivo.dev7studios.com
|
4 |
-
* Version: 2.0.
|
5 |
* Copyright 2012, Dev7studios
|
6 |
* Free to use and abuse under the MIT license.
|
7 |
* http://www.opensource.org/licenses/mit-license.php
|
1 |
/*
|
2 |
* jQuery Nivo Slider v3.2
|
3 |
* http://nivo.dev7studios.com
|
4 |
+
* Version: 2.0.4
|
5 |
* Copyright 2012, Dev7studios
|
6 |
* Free to use and abuse under the MIT license.
|
7 |
* http://www.opensource.org/licenses/mit-license.php
|
assets/js/jquery.nivo.slider.pack.js
CHANGED
@@ -172,7 +172,7 @@
|
|
172 |
});
|
173 |
var h = function (t, n, r) {
|
174 |
if (e(r.currentImage).parent().is("a")) { e(r.currentImage).parent().css("display", "block"); }
|
175 |
-
e('img[src="' + r.currentImage.attr("src") + '"]', t).not(".nivo-main-image,.nivo-control img").width(t.width()).css("visibility"
|
176 |
var i = e('img[src="' + r.currentImage.attr("src") + '"]', t).not(".nivo-main-image,.nivo-control img").parent().is("a") ? e('img[src="' + r.currentImage.attr("src") + '"]', t).not(".nivo-main-image,.nivo-control img").parent().height() : e('img[src="' + r.currentImage.attr("src") + '"]', t).not(".nivo-main-image,.nivo-control img").height();
|
177 |
for (var s = 0; s < n.slices; s++) {
|
178 |
var o = Math.round(t.width() / n.slices);
|
@@ -199,7 +199,7 @@
|
|
199 |
};
|
200 |
var p = function (t, n, r) {
|
201 |
if (e(r.currentImage).parent().is("a")) { e(r.currentImage).parent().css("display", "block"); }
|
202 |
-
e('img[src="' + r.currentImage.attr("src") + '"]', t).not(".nivo-main-image,.nivo-control img").width(t.width()).css("visibility"
|
203 |
var i = Math.round(t.width() / n.boxCols),
|
204 |
s = Math.round(e('img[src="' + r.currentImage.attr("src") + '"]', t).not(".nivo-main-image,.nivo-control img").height() / n.boxRows);
|
205 |
for (var o = 0; o < n.boxRows; o++) {
|
172 |
});
|
173 |
var h = function (t, n, r) {
|
174 |
if (e(r.currentImage).parent().is("a")) { e(r.currentImage).parent().css("display", "block"); }
|
175 |
+
e('img[src="' + r.currentImage.attr("src") + '"]', t).not(".nivo-main-image,.nivo-control img").width(t.width()).css( { "visibility": "hidden" } ).show();
|
176 |
var i = e('img[src="' + r.currentImage.attr("src") + '"]', t).not(".nivo-main-image,.nivo-control img").parent().is("a") ? e('img[src="' + r.currentImage.attr("src") + '"]', t).not(".nivo-main-image,.nivo-control img").parent().height() : e('img[src="' + r.currentImage.attr("src") + '"]', t).not(".nivo-main-image,.nivo-control img").height();
|
177 |
for (var s = 0; s < n.slices; s++) {
|
178 |
var o = Math.round(t.width() / n.slices);
|
199 |
};
|
200 |
var p = function (t, n, r) {
|
201 |
if (e(r.currentImage).parent().is("a")) { e(r.currentImage).parent().css("display", "block"); }
|
202 |
+
e('img[src="' + r.currentImage.attr("src") + '"]', t).not(".nivo-main-image,.nivo-control img").width(t.width()).css( { "visibility": "hidden" } ).show();
|
203 |
var i = Math.round(t.width() / n.boxCols),
|
204 |
s = Math.round(e('img[src="' + r.currentImage.attr("src") + '"]', t).not(".nivo-main-image,.nivo-control img").height() / n.boxRows);
|
205 |
for (var o = 0; o < n.boxRows; o++) {
|
includes/admin/libs/class-nivo-core-shortcode.php
CHANGED
@@ -136,11 +136,8 @@ class Nivo_Core_Shortcode extends Nivo_Core_Abstract implements Nivo_Library_Int
|
|
136 |
|
137 |
$images = $this->core_images->get_images( $sc['id'] );
|
138 |
|
139 |
-
|
140 |
-
|
141 |
-
$this->enqueue_core_scripts( true );
|
142 |
-
$this->enqueue_core_styles( true );
|
143 |
-
}
|
144 |
|
145 |
$this->enqueue_scripts( $options );
|
146 |
$this->enqueue_styles( $options );
|
136 |
|
137 |
$images = $this->core_images->get_images( $sc['id'] );
|
138 |
|
139 |
+
$this->enqueue_core_scripts( true );
|
140 |
+
$this->enqueue_core_styles( true );
|
|
|
|
|
|
|
141 |
|
142 |
$this->enqueue_scripts( $options );
|
143 |
$this->enqueue_styles( $options );
|
includes/class-nivo-slider.php
CHANGED
@@ -69,7 +69,7 @@ class Nivo_Slider {
|
|
69 |
public function __construct() {
|
70 |
|
71 |
$this->plugin_name = 'nivo-slider';
|
72 |
-
$this->version = '2.0.
|
73 |
|
74 |
$this->load_dependencies();
|
75 |
$this->set_locale();
|
69 |
public function __construct() {
|
70 |
|
71 |
$this->plugin_name = 'nivo-slider';
|
72 |
+
$this->version = '2.0.4';
|
73 |
|
74 |
$this->load_dependencies();
|
75 |
$this->set_locale();
|
nivo-slider-lite.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Slider by Nivo - Responsive Image Slider
|
4 |
* Plugin URI: https://themeisle.com/plugins/nivo-slider-lite
|
5 |
* Description: Nivo Slider is The Most Popular And Easiest to Use WordPress Slider Plugin.
|
6 |
-
* Version: 2.0.
|
7 |
* Author: ThemeIsle
|
8 |
* Author URI: https://themeisle.com/
|
9 |
* Text Domain: nivo-slider
|
3 |
* Plugin Name: Slider by Nivo - Responsive Image Slider
|
4 |
* Plugin URI: https://themeisle.com/plugins/nivo-slider-lite
|
5 |
* Description: Nivo Slider is The Most Popular And Easiest to Use WordPress Slider Plugin.
|
6 |
+
* Version: 2.0.4
|
7 |
* Author: ThemeIsle
|
8 |
* Author URI: https://themeisle.com/
|
9 |
* Text Domain: nivo-slider
|
readme.txt
CHANGED
@@ -68,6 +68,9 @@ Purchasing a license gets you access to the full version of the Nivo Slider Word
|
|
68 |
|
69 |
== Changelog ==
|
70 |
|
|
|
|
|
|
|
71 |
= 2.0.3 =
|
72 |
* Improved integration with themes.
|
73 |
|
68 |
|
69 |
== Changelog ==
|
70 |
|
71 |
+
= 2.0.4 =
|
72 |
+
* Changed required core style loading.
|
73 |
+
|
74 |
= 2.0.3 =
|
75 |
* Improved integration with themes.
|
76 |
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitd9bb93e455577b6aba3346f179c8a570::getLoader();
|
vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInita068fc18cd43301bd6e505f325f8155c::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit4183cc7ba490ca464f467ce34c46d135
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitd9bb93e455577b6aba3346f179c8a570
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitd9bb93e455577b6aba3346f179c8a570', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitd9bb93e455577b6aba3346f179c8a570', 'loadClassLoader'));
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitb3926e6b65e8bccfc5b4ea8a754f61dc {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInita068fc18cd43301bd6e505f325f8155c {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInita068fc18cd43301bd6e505f325f8155c', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInita068fc18cd43301bd6e505f325f8155c', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|