Smart Slider 3 - Version 3.3.6

Version Description

  • 18. July 2018. =
  • Fix: Autoptimize compatibility
  • Fix: Divi compatibility
  • Fix: Ajax compatibility
  • Fix: Windows upload path
Download this release

Release Info

Developer nextendweb
Plugin Icon 128x128 Smart Slider 3
Version 3.3.6
Comparing to
See all releases

Code changes from version 3.3.4 to 3.3.6

includes/integrations/Divi/modules/SmartSlider3/SmartSlider3.php CHANGED
@@ -28,7 +28,7 @@ class Nextend_SmartSlider3 extends ET_Builder_Module {
28
  ?>
29
  <script type="text/javascript">
30
  <?php
31
- echo file_get_contents(NEXTEND_SMARTSLIDER_3 . '/iframe.min.js');
32
 
33
  ?>
34
  window.SmartSlider3IframeUrl = <?php echo json_encode(site_url('') . '?n2prerender=1&n2app=smartslider&n2controller=slider&n2action=iframe'); ?>;
28
  ?>
29
  <script type="text/javascript">
30
  <?php
31
+ echo file_get_contents(NEXTEND_SMARTSLIDER_3 . '/includes/iframe.min.js');
32
 
33
  ?>
34
  window.SmartSlider3IframeUrl = <?php echo json_encode(site_url('') . '?n2prerender=1&n2app=smartslider&n2controller=slider&n2action=iframe'); ?>;
library/smartslider/languages/pt_BR.mo ADDED
Binary file
library/smartslider/smartslider3.php CHANGED
@@ -2,9 +2,9 @@
2
 
3
  class N2SS3 {
4
 
5
- public static $version = '3.3.4';
6
 
7
- public static $revision = '2375';
8
 
9
  public static $completeVersion;
10
 
2
 
3
  class N2SS3 {
4
 
5
+ public static $version = '3.3.6';
6
 
7
+ public static $revision = '2387';
8
 
9
  public static $completeVersion;
10
 
nextend/library/languages/pt_BR.mo ADDED
Binary file
nextend/wordpress/libraries/filesystem/filesystem.php CHANGED
@@ -14,14 +14,20 @@ class N2Filesystem extends N2FilesystemAbstract {
14
  $this->paths[] = $this->_basepath;
15
 
16
  $wp_upload_dir = wp_upload_dir();
17
- $scheme = parse_url($wp_upload_dir['basedir'], PHP_URL_SCHEME);
 
 
 
 
18
 
19
  /**
20
  * Amazon S3 storage has s3://my-bucket/uploads upload path. If we found a scheme in the path we will
21
  * skip the realpath check so it won't fail in the future.
22
  * @url https://github.com/humanmade/S3-Uploads
23
  */
24
- if ($scheme === null || $scheme === false) {
 
 
25
  $uploadPath = rtrim(realpath($wp_upload_dir['basedir']), "/\\");
26
  if (empty($uploadPath)) {
27
  echo 'Error: Your upload path is not valid or does not exist: ' . $wp_upload_dir['basedir'];
14
  $this->paths[] = $this->_basepath;
15
 
16
  $wp_upload_dir = wp_upload_dir();
17
+
18
+ $scheme = false;
19
+ if (strpos($wp_upload_dir['basedir'], '://') !== false) {
20
+ $scheme = parse_url($wp_upload_dir['basedir'], PHP_URL_SCHEME);
21
+ }
22
 
23
  /**
24
  * Amazon S3 storage has s3://my-bucket/uploads upload path. If we found a scheme in the path we will
25
  * skip the realpath check so it won't fail in the future.
26
  * @url https://github.com/humanmade/S3-Uploads
27
  */
28
+ if ($scheme && in_array($scheme, array('s3'))) {
29
+ $uploadPath = $wp_upload_dir['basedir'];
30
+ } else {
31
  $uploadPath = rtrim(realpath($wp_upload_dir['basedir']), "/\\");
32
  if (empty($uploadPath)) {
33
  echo 'Error: Your upload path is not valid or does not exist: ' . $wp_upload_dir['basedir'];
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: slider, wordpress slider, image slider, layer slider, responsive slider, s
4
  Donate link: https://sites.fastspring.com/nextend/product/smartslider3donate
5
  Requires at least: 4.6
6
  Tested up to: 4.9
7
- Stable tag: 3.3.4
8
  Requires PHP: 5.4
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -193,6 +193,12 @@ Of course! Smart Slider use protocol relative urls which works fine on http:// a
193
 
194
  == Changelog ==
195
 
 
 
 
 
 
 
196
  = 3.3.4 - 12. July 2018. =
197
  * Compatibility: Smart Slider 3 requires minimum PHP 5.4 and WordPress 4.6. From now on the slider won't activate if these minimum requirements are not available.
198
  * Improvement: WordPress admin area icon replaced with Dashicon
4
  Donate link: https://sites.fastspring.com/nextend/product/smartslider3donate
5
  Requires at least: 4.6
6
  Tested up to: 4.9
7
+ Stable tag: 3.3.6
8
  Requires PHP: 5.4
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
193
 
194
  == Changelog ==
195
 
196
+ = 3.3.6 - 18. July 2018. =
197
+ * Fix: Autoptimize compatibility
198
+ * Fix: Divi compatibility
199
+ * Fix: Ajax compatibility
200
+ * Fix: Windows upload path
201
+
202
  = 3.3.4 - 12. July 2018. =
203
  * Compatibility: Smart Slider 3 requires minimum PHP 5.4 and WordPress 4.6. From now on the slider won't activate if these minimum requirements are not available.
204
  * Improvement: WordPress admin area icon replaced with Dashicon
smart-slider-3.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Smart Slider 3
4
  Plugin URI: https://smartslider3.com/
5
  Description: The perfect all-in-one responsive slider solution for WordPress.
6
- Version: 3.3.4
7
  Author: Nextend
8
  Author URI: http://nextendweb.com
9
  License: GPLv3 or later
3
  Plugin Name: Smart Slider 3
4
  Plugin URI: https://smartslider3.com/
5
  Description: The perfect all-in-one responsive slider solution for WordPress.
6
+ Version: 3.3.6
7
  Author: Nextend
8
  Author URI: http://nextendweb.com
9
  License: GPLv3 or later