Advanced post slider - Version 2.4.0

Version Description

  • Security fix.

=

Download this release

Release Info

Developer digontoahsan
Plugin Icon wp plugin Advanced post slider
Version 2.4.0
Comparing to
See all releases

Code changes from version 2.3.4 to 2.4.0

Files changed (3) hide show
  1. advanced-post-slider.php +2 -2
  2. advps-admin.php +2 -4
  3. readme.txt +5 -2
advanced-post-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Advanced post slider
4
  Plugin URI: www.wpcue.com
5
  Description: A multipurpose responsive slideshow plugin powered with three built-in design template, lots of easy customizable options and many more to explore.
6
- Version: 2.3.4
7
  Author: digontoahsan
8
  Author URI: www.wpcue.com
9
  License: GPL2
@@ -75,7 +75,7 @@
75
  if(get_option('advps-db-version') && !get_option('advps-update-notification')){
76
  update_option('advps-update-notification','show');
77
  }
78
- update_option('advps-curr-version','2.3.4');
79
  }
80
  add_action( 'plugins_loaded', 'advps_update_db' );
81
  /* ---------------------------------------------------------------------------------------*/
3
  Plugin Name: Advanced post slider
4
  Plugin URI: www.wpcue.com
5
  Description: A multipurpose responsive slideshow plugin powered with three built-in design template, lots of easy customizable options and many more to explore.
6
+ Version: 2.4.0
7
  Author: digontoahsan
8
  Author URI: www.wpcue.com
9
  License: GPL2
75
  if(get_option('advps-db-version') && !get_option('advps-update-notification')){
76
  update_option('advps-update-notification','show');
77
  }
78
+ update_option('advps-curr-version','2.4.0');
79
  }
80
  add_action( 'plugins_loaded', 'advps_update_db' );
81
  /* ---------------------------------------------------------------------------------------*/
advps-admin.php CHANGED
@@ -33,11 +33,9 @@
33
  }
34
  elseif(isset($_POST['dup-optset'])){
35
 
36
- $q_sel = "select * from ".$wpdb->prefix."advps_optionset where id = ".$_POST['optset-id'];
37
  $res = $wpdb->get_results($q_sel);
38
- //echo get_option('advpssmethod'.$_POST['optset-id']);exit;
39
- //echo '<pre>';
40
- //print_r($res);exit;
41
  $q_add = $wpdb->prepare("insert into ".$wpdb->prefix."advps_optionset (template,plist,query,slider,caro_ticker,container,content,navigation) values(%s,%s,%s,%s,%s,%s,%s,%s)",$res[0]->template,$res[0]->plist,$res[0]->query,$res[0]->slider,$res[0]->caro_ticker,$res[0]->container,$res[0]->content,$res[0]->navigation);
42
 
43
  if($wpdb->query($q_add)){
33
  }
34
  elseif(isset($_POST['dup-optset'])){
35
 
36
+ $q_sel = $wpdb->prepare( "select * from ".$wpdb->prefix."advps_optionset where id = %d",$_POST['optset-id'] );
37
  $res = $wpdb->get_results($q_sel);
38
+
 
 
39
  $q_add = $wpdb->prepare("insert into ".$wpdb->prefix."advps_optionset (template,plist,query,slider,caro_ticker,container,content,navigation) values(%s,%s,%s,%s,%s,%s,%s,%s)",$res[0]->template,$res[0]->plist,$res[0]->query,$res[0]->slider,$res[0]->caro_ticker,$res[0]->container,$res[0]->content,$res[0]->navigation);
40
 
41
  if($wpdb->query($q_add)){
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: digontoahsan
3
  Donate link:
4
  Tags: post slider, content slider, slider, slideshow, wordpress content slider, content, wordpress slideshow, images, logo scroller, testimonial scroller, banner rotator, recent post slider, bxslider, image slider, sidebar slideshow, posts, post, image, image slideshow, responsive slideshow, responsive slider, carousel slider, ticker, responsive carousel slider, responsive carousel, showcase, news slider, thumbnail, thumbnail slider, featured thumbnail
5
  Requires at least: 3.0.1
6
- Tested up to: 4.2
7
- Stable tag: 2.3.4
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -145,4 +145,7 @@ Check details here [Advanced post slider 2.3.0](http://www.wpcue.com/advanced-po
145
  = 2.3.4 =
146
  * Small fix for loading issue and Readme update.
147
 
 
 
 
148
  == Upgrade Notice ==
3
  Donate link:
4
  Tags: post slider, content slider, slider, slideshow, wordpress content slider, content, wordpress slideshow, images, logo scroller, testimonial scroller, banner rotator, recent post slider, bxslider, image slider, sidebar slideshow, posts, post, image, image slideshow, responsive slideshow, responsive slider, carousel slider, ticker, responsive carousel slider, responsive carousel, showcase, news slider, thumbnail, thumbnail slider, featured thumbnail
5
  Requires at least: 3.0.1
6
+ Tested up to: 4.4
7
+ Stable tag: 2.4.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
145
  = 2.3.4 =
146
  * Small fix for loading issue and Readme update.
147
 
148
+ = 2.4.0 =
149
+ * Security fix.
150
+
151
  == Upgrade Notice ==