Slider by WD – Responsive Slider - Version 1.2.19

Version Description

  • Fixed: WD library.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Slider by WD – Responsive Slider
Version 1.2.19
Comparing to
See all releases

Code changes from version 1.2.18 to 1.2.19

readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: responsive slider, slider, slideshow, wordpress slider, image slider, gall
4
  Requires at least: 3.4
5
  Tested up to: 4.9
6
  Requires PHP: 5.2
7
- Stable tag: 1.2.18
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -442,6 +442,9 @@ The plugin takes the full width of the widget area if the **Boxed Layout** in **
442
 
443
  == Changelog ==
444
 
 
 
 
445
  = 1.2.18 =
446
  * Added: Elementor widget.
447
 
4
  Requires at least: 3.4
5
  Tested up to: 4.9
6
  Requires PHP: 5.2
7
+ Stable tag: 1.2.19
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
442
 
443
  == Changelog ==
444
 
445
+ = 1.2.19 =
446
+ * Fixed: WD library.
447
+
448
  = 1.2.18 =
449
  * Added: Elementor widget.
450
 
slider-wd.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Slider by 10Web
4
  * Plugin URI: https://10web.io/plugins/wordpress-slider/
5
  * Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
6
- * Version: 1.2.18
7
  * Author: 10Web
8
  * Author URI: https://10web.io/pricing/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -78,8 +78,8 @@ final class WDS {
78
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
79
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
80
  $this->main_file = plugin_basename(__FILE__);
81
- $this->plugin_version = '1.2.18';
82
- $this->db_version = '1.2.18';
83
  $this->prefix = 'wds';
84
  $this->nicename = __('Slider', $this->prefix);
85
  $this->use_home_url();
3
  * Plugin Name: Slider by 10Web
4
  * Plugin URI: https://10web.io/plugins/wordpress-slider/
5
  * Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
6
+ * Version: 1.2.19
7
  * Author: 10Web
8
  * Author URI: https://10web.io/pricing/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
78
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
79
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
80
  $this->main_file = plugin_basename(__FILE__);
81
+ $this->plugin_version = '1.2.19';
82
+ $this->db_version = '1.2.19';
83
  $this->prefix = 'wds';
84
  $this->nicename = __('Slider', $this->prefix);
85
  $this->use_home_url();
wd/README.md CHANGED
@@ -12,7 +12,7 @@ Copy and paste wd library into your plugin folder.
12
 
13
  public function tenweb_lib_path($path) {
14
  // The version of WD Lib
15
- $version = '1.1.1';
16
  if (!isset($path['version']) || version_compare($path['version'], $version) === -1) {
17
  $path['version'] = $version;
18
  $path['path'] = $this->plugin_dir;
12
 
13
  public function tenweb_lib_path($path) {
14
  // The version of WD Lib
15
+ $version = '1.1.0';
16
  if (!isset($path['version']) || version_compare($path['version'], $version) === -1) {
17
  $path['version'] = $version;
18
  $path['path'] = $this->plugin_dir;
wd/assets/css/deactivate_popup.css CHANGED
@@ -1,4 +1,4 @@
1
- .wd-opacity{
2
  position: fixed;
3
  top: 0px;
4
  bottom: 0px;
@@ -10,7 +10,7 @@
10
  display: none;
11
  }
12
 
13
- .wd-deactivate-popup{
14
  position: fixed;
15
  top: 0px;
16
  bottom: 0px;
@@ -26,24 +26,24 @@
26
  }
27
 
28
 
29
- .wd-deactivate-popup-header{
30
  border-bottom: 1px solid #ccc;
31
  padding: 18px 40px;
32
  font-size: 16px;
33
  background: rgba(221, 221, 221, 0.14);
34
  }
35
- .wd-deactivate-popup-body{
36
  padding: 20px 40px;
37
  border-bottom: 1px solid #ccc;
38
  }
39
- .wd-deactivate-popup-body input[type=text]{
40
  width: 220px;
41
  }
42
- .wd-deactivate-popup-body textarea{
43
  width: 100%;
44
  }
45
 
46
- .wd-btns{
47
  position: absolute;
48
  bottom: 19px;
49
  right: 19px
@@ -53,23 +53,23 @@
53
  margin-top: 20px;
54
  }
55
 
56
- .wd-additional-active{
57
  background: rgba(204, 204, 204, 0.18);
58
  padding: 15px;
59
  margin: 14px 0px 5px;
60
  }
61
- .wd-popup-active1{
62
  height: 583px !important;
63
  }
64
 
65
- .wd-popup-active2{
66
  height: 426px !important
67
  }
68
 
69
- .wd-popup-active4{
70
  height: 340px !important
71
  }
72
- .wd-deactivate-popup-opacity{
73
  width: 100%;
74
  height: 100%;
75
  background: #D9D9D9;
@@ -79,7 +79,7 @@
79
  display: none;
80
  }
81
 
82
- .wd-deactivate-popup-opacity .wd-img-loader{
83
  position: absolute;
84
  top: 0;
85
  left: 0;
@@ -89,7 +89,7 @@
89
  z-index: 63;
90
  }
91
 
92
- .wd-deactivate-popup-close-btn{
93
  background-image: url(img/close.svg);
94
  background-repeat: no-repeat;
95
  background-size: 16px;
1
+ .tenweb-opacity{
2
  position: fixed;
3
  top: 0px;
4
  bottom: 0px;
10
  display: none;
11
  }
12
 
13
+ .tenweb-deactivate-popup{
14
  position: fixed;
15
  top: 0px;
16
  bottom: 0px;
26
  }
27
 
28
 
29
+ .tenweb-deactivate-popup-header{
30
  border-bottom: 1px solid #ccc;
31
  padding: 18px 40px;
32
  font-size: 16px;
33
  background: rgba(221, 221, 221, 0.14);
34
  }
35
+ .tenweb-deactivate-popup-body{
36
  padding: 20px 40px;
37
  border-bottom: 1px solid #ccc;
38
  }
39
+ .tenweb-deactivate-popup-body input[type=text]{
40
  width: 220px;
41
  }
42
+ .tenweb-deactivate-popup-body textarea{
43
  width: 100%;
44
  }
45
 
46
+ .tenweb-btns{
47
  position: absolute;
48
  bottom: 19px;
49
  right: 19px
53
  margin-top: 20px;
54
  }
55
 
56
+ .tenweb-additional-active{
57
  background: rgba(204, 204, 204, 0.18);
58
  padding: 15px;
59
  margin: 14px 0px 5px;
60
  }
61
+ .tenweb-popup-active1{
62
  height: 583px !important;
63
  }
64
 
65
+ .tenweb-popup-active2{
66
  height: 426px !important
67
  }
68
 
69
+ .tenweb-popup-active4{
70
  height: 340px !important
71
  }
72
+ .tenweb-deactivate-popup-opacity{
73
  width: 100%;
74
  height: 100%;
75
  background: #D9D9D9;
79
  display: none;
80
  }
81
 
82
+ .tenweb-deactivate-popup-opacity .tenweb-img-loader{
83
  position: absolute;
84
  top: 0;
85
  left: 0;
89
  z-index: 63;
90
  }
91
 
92
+ .tenweb-deactivate-popup-close-btn{
93
  background-image: url(img/close.svg);
94
  background-repeat: no-repeat;
95
  background-size: 16px;
wd/assets/js/deactivate_popup.js CHANGED
@@ -25,8 +25,11 @@ function tenwebReady( prefix ) {
25
  reset_popup();
26
  jQuery( document ).on( "click", "." + window[prefix + "WDDeactivateVars"].deactivate_class, function () {
27
  agree_with_pp = false;
28
- jQuery( ".wd-" + prefix + "-opacity" ).show();
29
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).show();
 
 
 
30
  if ( jQuery( this ).attr( "data-uninstall" ) == "1" ) {
31
  btnVal = 2;
32
  }
@@ -35,29 +38,30 @@ function tenwebReady( prefix ) {
35
  } );
36
 
37
  jQuery( document ).on( "change", "[name=" + prefix + "_reasons]", function () {
 
38
 
39
  jQuery( "." + prefix + "_additional_details_wrap" ).html( "" );
40
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).removeClass( "wd-popup-active1 wd-popup-active2 wd-popup-active4" );
41
  if ( jQuery( this ).val() == "reason_plugin_is_hard_to_use_technical_problems" ) {
42
 
43
- additionalInfo = '<div class="wd-additional-active"><div><strong>Please describe your issue.</strong></div><br>' +
44
  '<textarea name="' + prefix + '_additional_details" rows = "4"></textarea><br>' +
45
  '<div>Our support will contact <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"> shortly.</div>' +
46
- '<br><div><button class="button button-primary wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit support ticket</button></div></div>';
47
  jQuery( "." + prefix + "_additional_details_wrap" ).append( additionalInfo );
48
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).addClass( "wd-popup-active1" );
49
 
50
  }
51
  else if ( jQuery( this ).val() == "reason_free_version_limited" ) {
52
- additionalInfo = '<div class="wd-additional-active">' +
53
  '<div><strong>We believe our premium version will fit your needs.</strong></div>' +
54
  '<div><a href="' + window[prefix + "WDDeactivateVars"].plugin_wd_url + '" target="_blank">Try with 30 day money back guarantee.</a></div>';
55
 
56
  jQuery( "." + prefix + "_additional_details_wrap" ).append( additionalInfo );
57
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).addClass( "wd-popup-active2" );
58
  }
59
  else {
60
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).addClass( "wd-popup-active4" );
61
  }
62
 
63
  var checked = ( agree_with_pp === true ) ? "checked" : "";
@@ -68,26 +72,28 @@ function tenwebReady( prefix ) {
68
  "</div>";
69
  jQuery( "." + prefix + "_additional_details_wrap" ).prepend( agree_checkbox );
70
 
71
- jQuery( "#wd-" + prefix + "-submit-and-deactivate" ).show();
72
  } );
73
  jQuery( document ).on( "keyup", "[name=" + prefix + "_additional_details]", function () {
74
  if ( jQuery( this ).val().trim() || jQuery( "[name=" + prefix + "_reasons]:checked" ).length > 0 ) {
75
- jQuery( "#wd-" + prefix + "-submit-and-deactivate" ).show();
76
  }
77
  else {
78
- jQuery( "#wd-" + prefix + "-submit-and-deactivate" ).hide();
79
  }
80
  } );
81
 
82
  jQuery( document ).on( "change", "[name=" + prefix + "_agree_with_pp]", function () {
83
  if ( jQuery( this ).prop( 'checked' ) ) {
 
84
  agree_with_pp = true;
85
  } else {
 
86
  agree_with_pp = false;
87
  }
88
  } );
89
 
90
- jQuery( document ).on( "click", ".wd-" + prefix + "-deactivate", function ( e ) {
91
  var data_val = jQuery( this ).data( 'val' );
92
  var checkbox = jQuery( "#" + prefix + "_agree_with_pp" );
93
 
@@ -95,18 +101,18 @@ function tenwebReady( prefix ) {
95
  return false;
96
  }
97
 
98
- jQuery( ".wd-deactivate-popup-opacity-" + prefix ).show();
99
- if ( jQuery( this ).hasClass( "wd-clicked" ) == false ) {
100
- jQuery( this ).addClass( "wd-clicked" );
101
  jQuery( "[name=" + prefix + "_submit_and_deactivate]" ).val( jQuery( this ).attr( "data-val" ) );
102
  jQuery( "#" + prefix + "_deactivate_form" ).submit();
103
  }
104
  return false;
105
  } );
106
 
107
- jQuery( document ).on( "click", ".wd-" + prefix + "-cancel, .wd-opacity, .wd-deactivate-popup-close-btn", function () {
108
- jQuery( ".wd-" + prefix + "-opacity" ).hide();
109
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).hide();
110
  reset_popup();
111
 
112
  return false;
@@ -114,9 +120,9 @@ function tenwebReady( prefix ) {
114
 
115
  function reset_popup() {
116
  jQuery( "." + prefix + "_additional_details_wrap" ).html( "" );
117
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).removeClass( "wd-popup-active1 wd-popup-active2 wd-popup-active4" );
118
 
119
- jQuery( "#wd-" + prefix + "-submit-and-deactivate" ).hide();
120
  jQuery( '#' + prefix + '_deactivate_form input[name="' + prefix + '_reasons' + '"]' ).prop( 'checked', false );
121
  }
122
 
25
  reset_popup();
26
  jQuery( document ).on( "click", "." + window[prefix + "WDDeactivateVars"].deactivate_class, function () {
27
  agree_with_pp = false;
28
+ if ( !jQuery( '#tenweb-' + prefix + '-submit-and-deactivate' ).hasClass( 'button-primary-disabled' ) ) {
29
+ jQuery( '#tenweb-' + prefix + '-submit-and-deactivate' ).addClass( 'button-primary-disabled' )
30
+ }
31
+ jQuery( ".tenweb-" + prefix + "-opacity" ).show();
32
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).show();
33
  if ( jQuery( this ).attr( "data-uninstall" ) == "1" ) {
34
  btnVal = 2;
35
  }
38
  } );
39
 
40
  jQuery( document ).on( "change", "[name=" + prefix + "_reasons]", function () {
41
+ var disabled_class = ( agree_with_pp === false ) ? "button-primary-disabled" : "";
42
 
43
  jQuery( "." + prefix + "_additional_details_wrap" ).html( "" );
44
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).removeClass( "tenweb-popup-active1 tenweb-popup-active2 tenweb-popup-active4" );
45
  if ( jQuery( this ).val() == "reason_plugin_is_hard_to_use_technical_problems" ) {
46
 
47
+ additionalInfo = '<div class="tenweb-additional-active"><div><strong>Please describe your issue.</strong></div><br>' +
48
  '<textarea name="' + prefix + '_additional_details" rows = "4"></textarea><br>' +
49
  '<div>Our support will contact <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"> shortly.</div>' +
50
+ '<br><div><button class="button button-primary ' + disabled_class + ' tenweb-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit support ticket</button></div></div>';
51
  jQuery( "." + prefix + "_additional_details_wrap" ).append( additionalInfo );
52
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).addClass( "tenweb-popup-active1" );
53
 
54
  }
55
  else if ( jQuery( this ).val() == "reason_free_version_limited" ) {
56
+ additionalInfo = '<div class="tenweb-additional-active">' +
57
  '<div><strong>We believe our premium version will fit your needs.</strong></div>' +
58
  '<div><a href="' + window[prefix + "WDDeactivateVars"].plugin_wd_url + '" target="_blank">Try with 30 day money back guarantee.</a></div>';
59
 
60
  jQuery( "." + prefix + "_additional_details_wrap" ).append( additionalInfo );
61
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).addClass( "tenweb-popup-active2" );
62
  }
63
  else {
64
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).addClass( "tenweb-popup-active4" );
65
  }
66
 
67
  var checked = ( agree_with_pp === true ) ? "checked" : "";
72
  "</div>";
73
  jQuery( "." + prefix + "_additional_details_wrap" ).prepend( agree_checkbox );
74
 
75
+ jQuery( "#tenweb-" + prefix + "-submit-and-deactivate" ).show();
76
  } );
77
  jQuery( document ).on( "keyup", "[name=" + prefix + "_additional_details]", function () {
78
  if ( jQuery( this ).val().trim() || jQuery( "[name=" + prefix + "_reasons]:checked" ).length > 0 ) {
79
+ jQuery( "#tenweb-" + prefix + "-submit-and-deactivate" ).show();
80
  }
81
  else {
82
+ jQuery( "#tenweb-" + prefix + "-submit-and-deactivate" ).hide();
83
  }
84
  } );
85
 
86
  jQuery( document ).on( "change", "[name=" + prefix + "_agree_with_pp]", function () {
87
  if ( jQuery( this ).prop( 'checked' ) ) {
88
+ jQuery( ".tenweb-" + prefix + "-deactivate" ).removeClass( 'button-primary-disabled' );
89
  agree_with_pp = true;
90
  } else {
91
+ jQuery( ".tenweb-" + prefix + "-deactivate" ).addClass( 'button-primary-disabled' );
92
  agree_with_pp = false;
93
  }
94
  } );
95
 
96
+ jQuery( document ).on( "click", ".tenweb-" + prefix + "-deactivate", function ( e ) {
97
  var data_val = jQuery( this ).data( 'val' );
98
  var checkbox = jQuery( "#" + prefix + "_agree_with_pp" );
99
 
101
  return false;
102
  }
103
 
104
+ jQuery( ".tenweb-deactivate-popup-opacity-" + prefix ).show();
105
+ if ( jQuery( this ).hasClass( "tenweb-clicked" ) == false ) {
106
+ jQuery( this ).addClass( "tenweb-clicked" );
107
  jQuery( "[name=" + prefix + "_submit_and_deactivate]" ).val( jQuery( this ).attr( "data-val" ) );
108
  jQuery( "#" + prefix + "_deactivate_form" ).submit();
109
  }
110
  return false;
111
  } );
112
 
113
+ jQuery( document ).on( "click", ".tenweb-" + prefix + "-cancel, .tenweb-opacity, .tenweb-deactivate-popup-close-btn", function () {
114
+ jQuery( ".tenweb-" + prefix + "-opacity" ).hide();
115
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).hide();
116
  reset_popup();
117
 
118
  return false;
120
 
121
  function reset_popup() {
122
  jQuery( "." + prefix + "_additional_details_wrap" ).html( "" );
123
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).removeClass( "tenweb-popup-active1 tenweb-popup-active2 tenweb-popup-active4" );
124
 
125
+ jQuery( "#tenweb-" + prefix + "-submit-and-deactivate" ).hide();
126
  jQuery( '#' + prefix + '_deactivate_form input[name="' + prefix + '_reasons' + '"]' ).prop( 'checked', false );
127
  }
128
 
wd/templates/display_deactivation_popup.php CHANGED
@@ -1,26 +1,26 @@
1
- <div class="wd-opacity wd-<?php echo $wd_options->prefix; ?>-opacity"></div>
2
- <div class="wd-deactivate-popup wd-<?php echo $wd_options->prefix; ?>-deactivate-popup">
3
- <div class="wd-deactivate-popup-opacity wd-deactivate-popup-opacity-<?php echo $wd_options->prefix; ?>">
4
- <img src="<?php echo $wd_options->wd_url_img . '/spinner.gif'; ?>" class="wd-img-loader" >
5
  </div>
6
  <form method="post" id="<?php echo $wd_options->prefix; ?>_deactivate_form">
7
- <div class="wd-deactivate-popup-header">
8
  <?php _e( "Please let us know why you are deactivating. Your answer will help us to provide you support or sometimes offer discounts. (Optional)", $wd_options->prefix ); ?>:
9
- <span class="wd-deactivate-popup-close-btn"></span>
10
  </div>
11
 
12
- <div class="wd-deactivate-popup-body">
13
  <?php foreach( $deactivate_reasons as $deactivate_reason_slug => $deactivate_reason ) { ?>
14
- <div class="wd-<?php echo $wd_options->prefix; ?>-reasons">
15
  <input type="radio" value="<?php echo $deactivate_reason["id"];?>" id="<?php echo $wd_options->prefix . "-" .$deactivate_reason["id"]; ?>" name="<?php echo $wd_options->prefix; ?>_reasons" >
16
  <label for="<?php echo $wd_options->prefix . "-" . $deactivate_reason["id"]; ?>"><?php echo $deactivate_reason["text"];?></label>
17
  </div>
18
  <?php } ?>
19
  <div class="<?php echo $wd_options->prefix; ?>_additional_details_wrap"></div>
20
  </div>
21
- <div class="wd-btns">
22
- <a href="<?php echo $deactivate_url; ?>" data-val="1" class="button button-secondary button-close" id="wd-<?php echo $wd_options->prefix; ?>-deactivate"><?php _e( "Skip and Deactivate" , $wd_options->prefix ); ?></a>
23
- <a href="<?php echo $deactivate_url; ?>" data-val="2" class="button button-primary button-close wd-<?php echo $wd_options->prefix; ?>-deactivate" id="wd-<?php echo $wd_options->prefix; ?>-submit-and-deactivate"><?php _e( "Submit and Deactivate" , $wd_options->prefix ); ?></a>
24
  </div>
25
  <input type="hidden" name="<?php echo $wd_options->prefix . "_submit_and_deactivate"; ?>" value="" >
26
  <?php wp_nonce_field( $wd_options->prefix . '_save_form', $wd_options->prefix . '_save_form_fild'); ?>
1
+ <div class="tenweb-opacity tenweb-<?php echo $wd_options->prefix; ?>-opacity"></div>
2
+ <div class="tenweb-deactivate-popup tenweb-<?php echo $wd_options->prefix; ?>-deactivate-popup">
3
+ <div class="tenweb-deactivate-popup-opacity tenweb-deactivate-popup-opacity-<?php echo $wd_options->prefix; ?>">
4
+ <img src="<?php echo $wd_options->wd_url_img . '/spinner.gif'; ?>" class="tenweb-img-loader" >
5
  </div>
6
  <form method="post" id="<?php echo $wd_options->prefix; ?>_deactivate_form">
7
+ <div class="tenweb-deactivate-popup-header">
8
  <?php _e( "Please let us know why you are deactivating. Your answer will help us to provide you support or sometimes offer discounts. (Optional)", $wd_options->prefix ); ?>:
9
+ <span class="tenweb-deactivate-popup-close-btn"></span>
10
  </div>
11
 
12
+ <div class="tenweb-deactivate-popup-body">
13
  <?php foreach( $deactivate_reasons as $deactivate_reason_slug => $deactivate_reason ) { ?>
14
+ <div class="tenweb-<?php echo $wd_options->prefix; ?>-reasons">
15
  <input type="radio" value="<?php echo $deactivate_reason["id"];?>" id="<?php echo $wd_options->prefix . "-" .$deactivate_reason["id"]; ?>" name="<?php echo $wd_options->prefix; ?>_reasons" >
16
  <label for="<?php echo $wd_options->prefix . "-" . $deactivate_reason["id"]; ?>"><?php echo $deactivate_reason["text"];?></label>
17
  </div>
18
  <?php } ?>
19
  <div class="<?php echo $wd_options->prefix; ?>_additional_details_wrap"></div>
20
  </div>
21
+ <div class="tenweb-btns">
22
+ <a href="<?php echo $deactivate_url; ?>" data-val="1" class="button button-secondary button-close" id="tenweb-<?php echo $wd_options->prefix; ?>-deactivate"><?php _e( "Skip and Deactivate" , $wd_options->prefix ); ?></a>
23
+ <a href="<?php echo $deactivate_url; ?>" data-val="2" class="button button-primary button-primary-disabled button-close tenweb-<?php echo $wd_options->prefix; ?>-deactivate" id="tenweb-<?php echo $wd_options->prefix; ?>-submit-and-deactivate"><?php _e( "Submit and Deactivate" , $wd_options->prefix ); ?></a>
24
  </div>
25
  <input type="hidden" name="<?php echo $wd_options->prefix . "_submit_and_deactivate"; ?>" value="" >
26
  <?php wp_nonce_field( $wd_options->prefix . '_save_form', $wd_options->prefix . '_save_form_fild'); ?>