Version Description
Changed: Deactivation popup
Download this release
Release Info
| Developer | webdorado |
| Plugin | |
| Version | 1.3.5 |
| Comparing to | |
| See all releases | |
Code changes from version 1.3.4 to 1.3.5
- changelog.txt +3 -0
- readme.txt +4 -1
- wd-instagram-feed.php +2 -2
- wd/README.md +1 -1
- wd/assets/js/deactivate_popup.js +112 -124
- wd/includes/deactivate.php +2 -7
- wd/includes/overview.php +1 -1
- wd/templates/display_deactivation_popup.php +2 -2
- wd/wd.php +1 -1
changelog.txt
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
= 1.3.4 =
|
| 2 |
New: Display website link in header along with bio
|
| 3 |
|
| 1 |
+
= 1.3.5 =
|
| 2 |
+
Changed: Deactivation popup
|
| 3 |
+
|
| 4 |
= 1.3.4 =
|
| 5 |
New: Display website link in header along with bio
|
| 6 |
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Tags: custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram
|
|
| 4 |
Requires at least: 3.9
|
| 5 |
Requires PHP: 5.2
|
| 6 |
Tested up to: 4.9
|
| 7 |
-
Stable tag: 1.3.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -498,6 +498,9 @@ Please make sure you don't have any important information before you proceed.
|
|
| 498 |
|
| 499 |
== Changelog ==
|
| 500 |
|
|
|
|
|
|
|
|
|
|
| 501 |
= 1.3.4 =
|
| 502 |
New: Display website link in header along with bio
|
| 503 |
|
| 4 |
Requires at least: 3.9
|
| 5 |
Requires PHP: 5.2
|
| 6 |
Tested up to: 4.9
|
| 7 |
+
Stable tag: 1.3.5
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 498 |
|
| 499 |
== Changelog ==
|
| 500 |
|
| 501 |
+
= 1.3.5 =
|
| 502 |
+
Changed: Deactivation popup
|
| 503 |
+
|
| 504 |
= 1.3.4 =
|
| 505 |
New: Display website link in header along with bio
|
| 506 |
|
wd-instagram-feed.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: WD Instagram Feed
|
| 4 |
Plugin URI: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
|
| 5 |
Description: WD Instagram Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website. You can create feeds with one of the available layouts. It allows displaying image metadata, open up images in lightbox, download them and even share in social networking websites.
|
| 6 |
-
Version: 1.3.
|
| 7 |
Author: WebDorado
|
| 8 |
Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
| 9 |
License: GPLv2 or later
|
|
@@ -21,7 +21,7 @@ define("WDI_META", "_".WDI_VAR."_meta");
|
|
| 21 |
//define("wdi",'wdi');
|
| 22 |
define('WDI_FEED_TABLE','wdi_feeds');
|
| 23 |
define('WDI_THEME_TABLE','wdi_themes');
|
| 24 |
-
define('WDI_VERSION','1.3.
|
| 25 |
define('WDI_IS_PRO','false');
|
| 26 |
$wdi_minify = ((isset($_GET['wdi_no_minify']) && $_GET['wdi_no_minify'] == "true") ? false : true);
|
| 27 |
define('WDI_MINIFY', $wdi_minify);
|
| 3 |
Plugin Name: WD Instagram Feed
|
| 4 |
Plugin URI: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
|
| 5 |
Description: WD Instagram Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website. You can create feeds with one of the available layouts. It allows displaying image metadata, open up images in lightbox, download them and even share in social networking websites.
|
| 6 |
+
Version: 1.3.5
|
| 7 |
Author: WebDorado
|
| 8 |
Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
| 9 |
License: GPLv2 or later
|
| 21 |
//define("wdi",'wdi');
|
| 22 |
define('WDI_FEED_TABLE','wdi_feeds');
|
| 23 |
define('WDI_THEME_TABLE','wdi_themes');
|
| 24 |
+
define('WDI_VERSION','1.3.5');
|
| 25 |
define('WDI_IS_PRO','false');
|
| 26 |
$wdi_minify = ((isset($_GET['wdi_no_minify']) && $_GET['wdi_no_minify'] == "true") ? false : true);
|
| 27 |
define('WDI_MINIFY', $wdi_minify);
|
wd/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
Version: 1.0.
|
| 2 |
|
| 3 |
|
| 4 |
|
| 1 |
+
Version: 1.0.16
|
| 2 |
|
| 3 |
|
| 4 |
|
wd/assets/js/deactivate_popup.js
CHANGED
|
@@ -19,132 +19,120 @@ var btnVal = 3;
|
|
| 19 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 20 |
// Public Methods //
|
| 21 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 22 |
-
function wdReady(prefix){
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
}
|
| 75 |
-
|
| 76 |
-
var checked = (agree_with_pp === true) ? "checked" : "";
|
| 77 |
-
var agree_checkbox =
|
| 78 |
-
"<div style='margin-top: 5px;'>" +
|
| 79 |
-
"<input type='checkbox' " + checked + " name='" + prefix + "_agree_with_pp" + "' id='" + prefix + "_agree_with_pp" + "'/>" +
|
| 80 |
-
"By submitting this form your email and website URL will be sent to Web-Dorado. Click the checkbox if you consent to usage of mentioned data by Web-Dorado in accordance with our <a target='_blank' href='https://web-dorado.com/web-dorado-privacy-statement.html'>Privacy Policy</a>."+
|
| 81 |
-
"</div>";
|
| 82 |
-
|
| 83 |
-
jQuery("." + prefix + "_additional_details_wrap").prepend(agree_checkbox);
|
| 84 |
-
|
| 85 |
-
jQuery("#wd-" + prefix + "-deactivate").hide();
|
| 86 |
-
jQuery("#wd-" + prefix + "-submit-and-deactivate").show();
|
| 87 |
-
|
| 88 |
-
});
|
| 89 |
-
jQuery(document).on("keyup", "[name=" + prefix + "_additional_details]", function(){
|
| 90 |
-
if(jQuery(this).val().trim() || jQuery("[name=" + prefix + "_reasons]:checked").length > 0){
|
| 91 |
-
jQuery("#wd-" + prefix + "-deactivate").hide();
|
| 92 |
-
jQuery("#wd-" + prefix + "-submit-and-deactivate").show();
|
| 93 |
-
}
|
| 94 |
-
else{
|
| 95 |
-
jQuery("#wd-" + prefix + "-deactivate").show();
|
| 96 |
-
jQuery("#wd-" + prefix + "-submit-and-deactivate").hide();
|
| 97 |
-
}
|
| 98 |
-
|
| 99 |
-
});
|
| 100 |
-
|
| 101 |
-
jQuery(document).on("change", "[name=" + prefix + "_agree_with_pp]", function () {
|
| 102 |
-
if(jQuery(this).prop('checked')){
|
| 103 |
-
jQuery(".wd-" + prefix + "-deactivate").removeClass('button-primary-disabled');
|
| 104 |
-
agree_with_pp = true;
|
| 105 |
-
}else{
|
| 106 |
-
jQuery(".wd-" + prefix + "-deactivate").addClass('button-primary-disabled');
|
| 107 |
-
agree_with_pp = false;
|
| 108 |
-
}
|
| 109 |
-
});
|
| 110 |
-
|
| 111 |
-
jQuery(document).on("click", ".wd-" + prefix + "-deactivate", function(e){
|
| 112 |
-
|
| 113 |
-
var data_val = jQuery(this).data('val');
|
| 114 |
-
var checkbox = jQuery("#" + prefix + "_agree_with_pp");
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
if (data_val !== 1 && (checkbox.length === 0 || checkbox.prop('checked') === false)) {
|
| 118 |
-
return false;
|
| 119 |
-
}
|
| 120 |
-
|
| 121 |
-
jQuery(".wd-deactivate-popup-opacity-" + prefix).show();
|
| 122 |
-
if(jQuery(this).hasClass("wd-clicked") == false){
|
| 123 |
-
jQuery(this).addClass("wd-clicked");
|
| 124 |
-
jQuery("[name=" + prefix + "_submit_and_deactivate]").val(jQuery(this).attr("data-val"));
|
| 125 |
-
jQuery("#" + prefix + "_deactivate_form").submit();
|
| 126 |
-
}
|
| 127 |
-
return false;
|
| 128 |
-
});
|
| 129 |
-
|
| 130 |
-
jQuery(document).on("click", ".wd-" + prefix + "-cancel, .wd-opacity, .wd-deactivate-popup-close-btn", function(){
|
| 131 |
-
jQuery(".wd-" + prefix + "-opacity").hide();
|
| 132 |
-
jQuery(".wd-" + prefix + "-deactivate-popup").hide();
|
| 133 |
-
reset_popup();
|
| 134 |
-
|
| 135 |
-
return false;
|
| 136 |
-
});
|
| 137 |
-
|
| 138 |
-
function reset_popup() {
|
| 139 |
-
jQuery("." + prefix + "_additional_details_wrap").html("");
|
| 140 |
-
jQuery(".wd-" + prefix + "-deactivate-popup").removeClass("wd-popup-active1 wd-popup-active2 wd-popup-active3 wd-popup-active4");
|
| 141 |
-
|
| 142 |
-
jQuery("#wd-" + prefix + "-deactivate").removeClass("button-primary-disabled");
|
| 143 |
-
jQuery("#wd-" + prefix + "-deactivate").show();
|
| 144 |
-
jQuery("#wd-" + prefix + "-submit-and-deactivate").hide();
|
| 145 |
-
jQuery('#' + prefix + '_deactivate_form input[name="' + prefix + '_reasons' + '"]').prop('checked', false);
|
| 146 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 148 |
|
| 149 |
}
|
| 150 |
|
| 19 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 20 |
// Public Methods //
|
| 21 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 22 |
+
function wdReady( prefix ) {
|
| 23 |
+
|
| 24 |
+
var agree_with_pp = false;
|
| 25 |
+
reset_popup();
|
| 26 |
+
jQuery( document ).on( "click", "." + window[prefix + "WDDeactivateVars"].deactivate_class, function () {
|
| 27 |
+
agree_with_pp = false;
|
| 28 |
+
if ( !jQuery( '#wd-' + prefix + '-submit-and-deactivate' ).hasClass( 'button-primary-disabled' ) ) {
|
| 29 |
+
jQuery( '#wd-' + prefix + '-submit-and-deactivate' ).addClass( 'button-primary-disabled' )
|
| 30 |
+
}
|
| 31 |
+
jQuery( ".wd-" + prefix + "-opacity" ).show();
|
| 32 |
+
jQuery( ".wd-" + prefix + "-deactivate-popup" ).show();
|
| 33 |
+
if ( jQuery( this ).attr( "data-uninstall" ) == "1" ) {
|
| 34 |
+
btnVal = 2;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
return false;
|
| 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( ".wd-" + prefix + "-deactivate-popup" ).removeClass( "wd-popup-active1 wd-popup-active2 wd-popup-active3 wd-popup-active4" );
|
| 45 |
+
if ( jQuery( this ).val() == "reason_plugin_is_hard_to_use_technical_problems" ) {
|
| 46 |
+
|
| 47 |
+
additionalInfo = '<div class="wd-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 + ' wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit support ticket</button></div></div>';
|
| 51 |
+
jQuery( "." + prefix + "_additional_details_wrap" ).append( additionalInfo );
|
| 52 |
+
jQuery( ".wd-" + prefix + "-deactivate-popup" ).addClass( "wd-popup-active1" );
|
| 53 |
+
|
| 54 |
+
}
|
| 55 |
+
else if ( jQuery( this ).val() == "reason_free_version_limited" ) {
|
| 56 |
+
additionalInfo = '<div class="wd-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( ".wd-" + prefix + "-deactivate-popup" ).addClass( "wd-popup-active2" );
|
| 62 |
+
}
|
| 63 |
+
else if ( jQuery( this ).val() == "reason_premium_expensive" ) {
|
| 64 |
+
additionalInfo = '<div class="wd-additional-active">' +
|
| 65 |
+
'<div><strong>We have a special offer for you.</strong></div>' +
|
| 66 |
+
'<div>Submit this form to get the offer to <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"></div>' +
|
| 67 |
+
'<br><div><button class="button button-primary ' + disabled_class + ' wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit</button></div></div>';
|
| 68 |
+
|
| 69 |
+
jQuery( "." + prefix + "_additional_details_wrap" ).append( additionalInfo );
|
| 70 |
+
jQuery( ".wd-" + prefix + "-deactivate-popup" ).addClass( "wd-popup-active3" );
|
| 71 |
+
} else {
|
| 72 |
+
jQuery( ".wd-" + prefix + "-deactivate-popup" ).addClass( "wd-popup-active4" );
|
| 73 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
+
var checked = ( agree_with_pp === true ) ? "checked" : "";
|
| 76 |
+
var agree_checkbox =
|
| 77 |
+
"<div style='margin-top: 5px;'>" +
|
| 78 |
+
"<input type='checkbox' " + checked + " name='" + prefix + "_agree_with_pp" + "' id='" + prefix + "_agree_with_pp" + "'/>" +
|
| 79 |
+
"By submitting this form your email and website URL will be sent to Web-Dorado. Click the checkbox if you consent to usage of mentioned data by Web-Dorado in accordance with our <a target='_blank' href='https://web-dorado.com/web-dorado-privacy-statement.html'>Privacy Policy</a>."+
|
| 80 |
+
"</div>";
|
| 81 |
+
jQuery( "." + prefix + "_additional_details_wrap" ).prepend( agree_checkbox );
|
| 82 |
+
|
| 83 |
+
jQuery( "#wd-" + prefix + "-submit-and-deactivate" ).show();
|
| 84 |
+
} );
|
| 85 |
+
jQuery( document ).on( "keyup", "[name=" + prefix + "_additional_details]", function () {
|
| 86 |
+
if ( jQuery( this ).val().trim() || jQuery( "[name=" + prefix + "_reasons]:checked" ).length > 0 ) {
|
| 87 |
+
jQuery( "#wd-" + prefix + "-submit-and-deactivate" ).show();
|
| 88 |
}
|
| 89 |
+
else {
|
| 90 |
+
jQuery( "#wd-" + prefix + "-submit-and-deactivate" ).hide();
|
| 91 |
+
}
|
| 92 |
+
} );
|
| 93 |
+
|
| 94 |
+
jQuery( document ).on( "change", "[name=" + prefix + "_agree_with_pp]", function () {
|
| 95 |
+
if ( jQuery( this ).prop( 'checked' ) ) {
|
| 96 |
+
jQuery( ".wd-" + prefix + "-deactivate" ).removeClass( 'button-primary-disabled' );
|
| 97 |
+
agree_with_pp = true;
|
| 98 |
+
} else {
|
| 99 |
+
jQuery( ".wd-" + prefix + "-deactivate" ).addClass( 'button-primary-disabled' );
|
| 100 |
+
agree_with_pp = false;
|
| 101 |
+
}
|
| 102 |
+
} );
|
| 103 |
+
|
| 104 |
+
jQuery( document ).on( "click", ".wd-" + prefix + "-deactivate", function ( e ) {
|
| 105 |
+
var data_val = jQuery( this ).data( 'val' );
|
| 106 |
+
var checkbox = jQuery( "#" + prefix + "_agree_with_pp" );
|
| 107 |
+
|
| 108 |
+
if ( data_val !== 1 && ( checkbox.length === 0 || checkbox.prop( 'checked' ) === false ) ) {
|
| 109 |
+
return false;
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
jQuery( ".wd-deactivate-popup-opacity-" + prefix ).show();
|
| 113 |
+
if ( jQuery( this ).hasClass( "wd-clicked" ) == false ) {
|
| 114 |
+
jQuery( this ).addClass( "wd-clicked" );
|
| 115 |
+
jQuery( "[name=" + prefix + "_submit_and_deactivate]" ).val( jQuery( this ).attr( "data-val" ) );
|
| 116 |
+
jQuery( "#" + prefix + "_deactivate_form" ).submit();
|
| 117 |
+
}
|
| 118 |
+
return false;
|
| 119 |
+
} );
|
| 120 |
+
|
| 121 |
+
jQuery( document ).on( "click", ".wd-" + prefix + "-cancel, .wd-opacity, .wd-deactivate-popup-close-btn", function () {
|
| 122 |
+
jQuery( ".wd-" + prefix + "-opacity" ).hide();
|
| 123 |
+
jQuery( ".wd-" + prefix + "-deactivate-popup" ).hide();
|
| 124 |
+
reset_popup();
|
| 125 |
+
|
| 126 |
+
return false;
|
| 127 |
+
} );
|
| 128 |
+
|
| 129 |
+
function reset_popup() {
|
| 130 |
+
jQuery( "." + prefix + "_additional_details_wrap" ).html( "" );
|
| 131 |
+
jQuery( ".wd-" + prefix + "-deactivate-popup" ).removeClass( "wd-popup-active1 wd-popup-active2 wd-popup-active3 wd-popup-active4" );
|
| 132 |
+
|
| 133 |
+
jQuery( "#wd-" + prefix + "-submit-and-deactivate" ).hide();
|
| 134 |
+
jQuery( '#' + prefix + '_deactivate_form input[name="' + prefix + '_reasons' + '"]' ).prop( 'checked', false );
|
| 135 |
+
}
|
| 136 |
|
| 137 |
}
|
| 138 |
|
wd/includes/deactivate.php
CHANGED
|
@@ -18,8 +18,7 @@
|
|
| 18 |
// Reason IDs
|
| 19 |
const REASON_PLUGIN_IS_HARD_TO_USE_TECHNICAL_PROBLEMS = "reason_plugin_is_hard_to_use_technical_problems";
|
| 20 |
const REASON_FREE_VERSION_IS_LIMITED = "reason_free_version_limited";
|
| 21 |
-
const REASON_PRO_EXPENSIVE = "reason_premium_expensive";
|
| 22 |
-
const REASON_UPGRADING_TO_PAID_VERSION = "reason_upgrading_to_paid_version";
|
| 23 |
const REASON_TEMPORARY_DEACTIVATION = "reason_temporary_deactivation";
|
| 24 |
|
| 25 |
////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -41,12 +40,8 @@
|
|
| 41 |
3 => array(
|
| 42 |
'id' => self::REASON_PRO_EXPENSIVE,
|
| 43 |
'text' => __( 'Premium is expensive', $wd_options->prefix ),
|
| 44 |
-
),
|
| 45 |
-
4 => array(
|
| 46 |
-
'id' => self::REASON_UPGRADING_TO_PAID_VERSION,
|
| 47 |
-
'text' => __( 'Upgrading to paid version', $wd_options->prefix ),
|
| 48 |
),
|
| 49 |
-
|
| 50 |
'id' => self::REASON_TEMPORARY_DEACTIVATION,
|
| 51 |
'text' => __( 'Temporary deactivation', $wd_options->prefix ),
|
| 52 |
),
|
| 18 |
// Reason IDs
|
| 19 |
const REASON_PLUGIN_IS_HARD_TO_USE_TECHNICAL_PROBLEMS = "reason_plugin_is_hard_to_use_technical_problems";
|
| 20 |
const REASON_FREE_VERSION_IS_LIMITED = "reason_free_version_limited";
|
| 21 |
+
const REASON_PRO_EXPENSIVE = "reason_premium_expensive";
|
|
|
|
| 22 |
const REASON_TEMPORARY_DEACTIVATION = "reason_temporary_deactivation";
|
| 23 |
|
| 24 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 40 |
3 => array(
|
| 41 |
'id' => self::REASON_PRO_EXPENSIVE,
|
| 42 |
'text' => __( 'Premium is expensive', $wd_options->prefix ),
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
),
|
| 44 |
+
4 => array(
|
| 45 |
'id' => self::REASON_TEMPORARY_DEACTIVATION,
|
| 46 |
'text' => __( 'Temporary deactivation', $wd_options->prefix ),
|
| 47 |
),
|
wd/includes/overview.php
CHANGED
|
@@ -89,7 +89,7 @@
|
|
| 89 |
'title' => 'Form Maker',
|
| 90 |
'text' => __( 'Wordpress form builder plugin', $wd_options->prefix ),
|
| 91 |
'content' => __( 'Form Maker is a modern and advanced tool for creating WordPress forms easily and fast.', $wd_options->prefix ),
|
| 92 |
-
'href' => 'https://web-dorado.com/
|
| 93 |
),
|
| 94 |
"photo-gallery" => array(
|
| 95 |
'title' => 'Photo Gallery',
|
| 89 |
'title' => 'Form Maker',
|
| 90 |
'text' => __( 'Wordpress form builder plugin', $wd_options->prefix ),
|
| 91 |
'content' => __( 'Form Maker is a modern and advanced tool for creating WordPress forms easily and fast.', $wd_options->prefix ),
|
| 92 |
+
'href' => 'https://web-dorado.com/files/fromFormMaker.php'
|
| 93 |
),
|
| 94 |
"photo-gallery" => array(
|
| 95 |
'title' => 'Photo Gallery',
|
wd/templates/display_deactivation_popup.php
CHANGED
|
@@ -19,8 +19,8 @@
|
|
| 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-
|
| 23 |
-
<a href="<?php echo $deactivate_url; ?>" data-val="2" class="button button-primary button-primary-disabled button-close wd-<?php echo $wd_options->prefix; ?>-deactivate" id="wd-<?php echo $wd_options->prefix; ?>-submit-and-deactivate"
|
| 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'); ?>
|
| 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-primary-disabled 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'); ?>
|
wd/wd.php
CHANGED
|
@@ -17,7 +17,7 @@
|
|
| 17 |
public $overview_instance;
|
| 18 |
public $subscribe_instance;
|
| 19 |
public $config;
|
| 20 |
-
private $version = "1.0.
|
| 21 |
|
| 22 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 23 |
// Constructor & Destructor //
|
| 17 |
public $overview_instance;
|
| 18 |
public $subscribe_instance;
|
| 19 |
public $config;
|
| 20 |
+
private $version = "1.0.16";
|
| 21 |
|
| 22 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 23 |
// Constructor & Destructor //
|
