Version Description
Download this release
Release Info
Developer | WebFactory |
Plugin | WP Reset – Fastest WordPress Reset Plugin |
Version | 1.85 |
Comparing to | |
See all releases |
Code changes from version 1.84 to 1.85
- css/wp-reset.css +0 -132
- js/wp-reset.js +0 -76
- readme.txt +7 -4
- wp-reset.php +4 -84
css/wp-reset.css
CHANGED
@@ -789,138 +789,6 @@ body.tools_page_wp-reset {
|
|
789 |
|
790 |
/* diff */
|
791 |
|
792 |
-
/* survey */
|
793 |
-
|
794 |
-
.ui-widget-overlay {
|
795 |
-
opacity: 0.85;
|
796 |
-
}
|
797 |
-
|
798 |
-
.ui-dialog {
|
799 |
-
z-index: 9998 !important;
|
800 |
-
}
|
801 |
-
|
802 |
-
.survey-dialog .ui-dialog-titlebar {
|
803 |
-
text-align: center;
|
804 |
-
font-weight: bold;
|
805 |
-
}
|
806 |
-
|
807 |
-
.survey-dialog .ui-dialog-titlebar-close {
|
808 |
-
display: none;
|
809 |
-
}
|
810 |
-
|
811 |
-
.survey-dialog .ui-dialog-content {
|
812 |
-
padding: 20px 25px;
|
813 |
-
font-size: 15px;
|
814 |
-
}
|
815 |
-
|
816 |
-
.wpr-dialog b {
|
817 |
-
font-weight: bold;
|
818 |
-
}
|
819 |
-
|
820 |
-
.wpr-dialog .footer {
|
821 |
-
margin: 20px 0 0 0;
|
822 |
-
text-align: center;
|
823 |
-
}
|
824 |
-
|
825 |
-
.wpr-dialog .footer #emailme {
|
826 |
-
margin: 0 5px -3px 0;
|
827 |
-
}
|
828 |
-
|
829 |
-
.wpr-dialog .footer .button-primary {
|
830 |
-
font-size: 15px;
|
831 |
-
}
|
832 |
-
|
833 |
-
.wpr-dialog .footer .dismiss-survey {
|
834 |
-
display: inline-block;
|
835 |
-
margin-left: 10px;
|
836 |
-
vertical-align: bottom;
|
837 |
-
}
|
838 |
-
|
839 |
-
.wpr-dialog .ui-dialog-content p {
|
840 |
-
margin: 0 0 20px 0;
|
841 |
-
font-size: 15px;
|
842 |
-
}
|
843 |
-
|
844 |
-
.wpr-dialog .ui-dialog-titlebar {
|
845 |
-
text-align: center;
|
846 |
-
}
|
847 |
-
|
848 |
-
.wpr-dialog .subtitle {
|
849 |
-
text-align: center;
|
850 |
-
font-size: 15px;
|
851 |
-
margin: 0 0 16px 0;
|
852 |
-
}
|
853 |
-
|
854 |
-
.question-wrapper {
|
855 |
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
856 |
-
padding: 15px 10px;
|
857 |
-
background-color: rgba(250, 250, 250, 0.55);
|
858 |
-
margin: 0 0 10px 5px;
|
859 |
-
opacity: 1;
|
860 |
-
width: 46%;
|
861 |
-
vertical-align: top;
|
862 |
-
display: inline-block;
|
863 |
-
text-align: left;
|
864 |
-
}
|
865 |
-
|
866 |
-
.question-wrapper:hover {
|
867 |
-
opacity: 1;
|
868 |
-
border: 1px solid rgba(0, 142, 194, 1);
|
869 |
-
cursor: pointer;
|
870 |
-
margin-bottom: 10px;
|
871 |
-
}
|
872 |
-
|
873 |
-
.question-wrapper:hover .dashicons {
|
874 |
-
opacity: 0.25;
|
875 |
-
}
|
876 |
-
|
877 |
-
.question-wrapper.selected {
|
878 |
-
opacity: 1;
|
879 |
-
border: 1px solid rgba(0, 142, 194, 1);
|
880 |
-
margin-bottom: 10px;
|
881 |
-
}
|
882 |
-
|
883 |
-
.question-wrapper .dashicons {
|
884 |
-
color: rgba(221, 47, 54, 1);
|
885 |
-
opacity: 0.25;
|
886 |
-
vertical-align: super;
|
887 |
-
width: 40px;
|
888 |
-
height: 40px;
|
889 |
-
}
|
890 |
-
|
891 |
-
.question-wrapper.selected .dashicons {
|
892 |
-
color: rgba(221, 47, 54, 1);
|
893 |
-
opacity: 1;
|
894 |
-
}
|
895 |
-
|
896 |
-
.question-wrapper .dashicons:before {
|
897 |
-
width: 40px;
|
898 |
-
height: 40px;
|
899 |
-
font-size: 40px;
|
900 |
-
}
|
901 |
-
|
902 |
-
.question-wrapper .custom-input {
|
903 |
-
margin: 4px 0 0 0;
|
904 |
-
width: 100%;
|
905 |
-
font-size: 12px;
|
906 |
-
padding: 5px;
|
907 |
-
}
|
908 |
-
|
909 |
-
.question-wrapper .question {
|
910 |
-
margin-left: -40px;
|
911 |
-
display: inline-block;
|
912 |
-
width: 100%;
|
913 |
-
padding-left: 50px;
|
914 |
-
box-sizing: border-box;
|
915 |
-
}
|
916 |
-
|
917 |
-
.question-wrapper i {
|
918 |
-
padding-top: 5px;
|
919 |
-
font-size: 14px;
|
920 |
-
display: inline-block;
|
921 |
-
}
|
922 |
-
/* survey */
|
923 |
-
|
924 |
.pro-feature {
|
925 |
font-weight: normal;
|
926 |
font-variant: small-caps;
|
789 |
|
790 |
/* diff */
|
791 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
792 |
.pro-feature {
|
793 |
font-weight: normal;
|
794 |
font-variant: small-caps;
|
js/wp-reset.js
CHANGED
@@ -696,10 +696,6 @@ jQuery(document).ready(function ($) {
|
|
696 |
return true;
|
697 |
}
|
698 |
|
699 |
-
if ($(this).data('survey')) {
|
700 |
-
$('#survey-dialog').dialog('close');
|
701 |
-
}
|
702 |
-
|
703 |
$.get(ajaxurl, {
|
704 |
notice_name: notice_name,
|
705 |
_ajax_nonce: wp_reset.nonce_dismiss_notice,
|
@@ -712,25 +708,6 @@ jQuery(document).ready(function ($) {
|
|
712 |
return false;
|
713 |
}); // dismiss notice
|
714 |
|
715 |
-
// maybe init survey dialog
|
716 |
-
if (wp_reset.open_survey) {
|
717 |
-
$('#survey-dialog').dialog({
|
718 |
-
dialogClass: 'wp-dialog wpr-dialog wpr-survey-dialog',
|
719 |
-
modal: 1,
|
720 |
-
resizable: false,
|
721 |
-
width: 800,
|
722 |
-
height: 'auto',
|
723 |
-
show: 'fade',
|
724 |
-
hide: 'fade',
|
725 |
-
close: function (event, ui) {},
|
726 |
-
open: function (event, ui) {
|
727 |
-
wpr_fix_dialog_close(event, ui);
|
728 |
-
},
|
729 |
-
autoOpen: true,
|
730 |
-
closeOnEscape: true,
|
731 |
-
});
|
732 |
-
}
|
733 |
-
|
734 |
// turn questions into checkboxes
|
735 |
$('.question-wrapper').on('click', function (e) {
|
736 |
if ($(this).hasClass('selected')) {
|
@@ -751,53 +728,6 @@ jQuery(document).ready(function ($) {
|
|
751 |
return false;
|
752 |
});
|
753 |
|
754 |
-
// submit and hide survey
|
755 |
-
$('.submit-survey').on('click', function (e) {
|
756 |
-
if ($('.question-wrapper.selected').length != 2 && $('.question-wrapper.selected').length != 1) {
|
757 |
-
wpr_swal.fire({
|
758 |
-
icon: 'error',
|
759 |
-
allowOutsideClick: false,
|
760 |
-
text: 'Please choose 1 or 2 features you would like us to build next.',
|
761 |
-
});
|
762 |
-
return false;
|
763 |
-
}
|
764 |
-
|
765 |
-
if (
|
766 |
-
$('#survey-dialog .custom-input').val() == '' &&
|
767 |
-
$('#survey-dialog .custom-input').parents('div.question-wrapper').hasClass('selected')
|
768 |
-
) {
|
769 |
-
wpr_swal.fire({
|
770 |
-
icon: 'error',
|
771 |
-
allowOutsideClick: false,
|
772 |
-
text: 'Please describe the custom feature you need.',
|
773 |
-
});
|
774 |
-
return false;
|
775 |
-
}
|
776 |
-
|
777 |
-
answers = '';
|
778 |
-
$('.question-wrapper.selected').each(function (i, el) {
|
779 |
-
answers += $(el).data('value') + ',';
|
780 |
-
});
|
781 |
-
|
782 |
-
$.post(ajaxurl, {
|
783 |
-
survey: 'features',
|
784 |
-
answers: answers,
|
785 |
-
emailme: $('#survey-dialog #emailme:checked').val(),
|
786 |
-
custom_answer: $('#survey-dialog .custom-input').val(),
|
787 |
-
_ajax_nonce: wp_reset.nonce_submit_survey,
|
788 |
-
action: 'wp_reset_submit_survey',
|
789 |
-
});
|
790 |
-
|
791 |
-
$('#survey-dialog').dialog('close');
|
792 |
-
wpr_swal.fire({
|
793 |
-
icon: 'success',
|
794 |
-
text: 'Thank you for your time! We appriciate your input!',
|
795 |
-
});
|
796 |
-
|
797 |
-
e.preventDefault();
|
798 |
-
return false;
|
799 |
-
});
|
800 |
-
|
801 |
// todo: not finished
|
802 |
$('.tools_page_wp-reset').on('click', '.button-pro-feature, .pro-feature', function (e) {
|
803 |
e.preventDefault();
|
@@ -1379,12 +1309,6 @@ jQuery(document).ready(function ($) {
|
|
1379 |
} //run collection ajax
|
1380 |
}); // onload
|
1381 |
|
1382 |
-
function wpr_fix_dialog_close(event, ui) {
|
1383 |
-
jQuery('.ui-widget-overlay').bind('click', function () {
|
1384 |
-
jQuery('#' + event.target.id).dialog('close');
|
1385 |
-
});
|
1386 |
-
} // wpr_fix_dialog_close
|
1387 |
-
|
1388 |
function wpr_clear_local(clear_cookies, clear_storage) {
|
1389 |
var cnt = 0;
|
1390 |
|
696 |
return true;
|
697 |
}
|
698 |
|
|
|
|
|
|
|
|
|
699 |
$.get(ajaxurl, {
|
700 |
notice_name: notice_name,
|
701 |
_ajax_nonce: wp_reset.nonce_dismiss_notice,
|
708 |
return false;
|
709 |
}); // dismiss notice
|
710 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
711 |
// turn questions into checkboxes
|
712 |
$('.question-wrapper').on('click', function (e) {
|
713 |
if ($(this).hasClass('selected')) {
|
728 |
return false;
|
729 |
});
|
730 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
731 |
// todo: not finished
|
732 |
$('.tools_page_wp-reset').on('click', '.button-pro-feature, .pro-feature', function (e) {
|
733 |
e.preventDefault();
|
1309 |
} //run collection ajax
|
1310 |
}); // onload
|
1311 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1312 |
function wpr_clear_local(clear_cookies, clear_storage) {
|
1313 |
var cnt = 0;
|
1314 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: WebFactory
|
|
4 |
Requires at least: 4.0
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.6
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -12,15 +12,14 @@ WP Reset resets the entire site or selected parts using advanced reset options t
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
<a href="https://wpreset.com
|
16 |
|
17 |
https://youtu.be/qMnkCW2PFoI?rel=0
|
18 |
|
19 |
-
For support please use the <a href="https://wordpress.org/support/plugin/wp-reset">official forum</a>, and if you need more information visit <a href="https://wpreset.com
|
20 |
|
21 |
Access WP Reset admin page via the "Tools" menu.
|
22 |
|
23 |
-
Web accessibility is not an option in 2021! Making your site accessible to visitors with disabilities will save you from hefty fines and instantly grow your audience. That's why we've partnered with <a href="https://wordpress.org/plugins/accessibe/">accessiBe</a> - the fully automated AI service for web accessibility. Download their plugin, connect to the service, and make your site fully accessible in a few clicks.
|
24 |
|
25 |
**Please read carefully before proceeding to understand what WP Reset does, and remember to always create a snapshot**
|
26 |
|
@@ -117,6 +116,10 @@ Or if needed, upload manually;
|
|
117 |
|
118 |
== Changelog ==
|
119 |
|
|
|
|
|
|
|
|
|
120 |
= v1.84 =
|
121 |
* 2021/01/21
|
122 |
* added quick links button
|
4 |
Requires at least: 4.0
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.6
|
7 |
+
Stable tag: 1.85
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
<a href="https://wpreset.com/">WP Reset</a> quickly resets the site's database to the default installation values without modifying any files. It deletes all customizations and content, or just chosen parts like theme settings. WP Reset is fast and safe to use thanks to the built-in snapshots which provide 1-click restore functionality. It has multiple fail-safe mechanisms so you can never accidentally lose data. WP Reset is extremely helpful for plugin and theme developers. It **speeds up testing & debugging** by providing a quick way to reset settings and re-test code. It's the only WP development tool for non-developers.
|
16 |
|
17 |
https://youtu.be/qMnkCW2PFoI?rel=0
|
18 |
|
19 |
+
For support please use the <a href="https://wordpress.org/support/plugin/wp-reset">official forum</a>, and if you need more information visit <a href="https://wpreset.com/">wpreset.com</a> and be sure to check out the <a href="https://wpreset.com/">roadmap</a> for the list of upcoming features.
|
20 |
|
21 |
Access WP Reset admin page via the "Tools" menu.
|
22 |
|
|
|
23 |
|
24 |
**Please read carefully before proceeding to understand what WP Reset does, and remember to always create a snapshot**
|
25 |
|
116 |
|
117 |
== Changelog ==
|
118 |
|
119 |
+
= v1.85 =
|
120 |
+
* 2021/01/30
|
121 |
+
* code clean-up
|
122 |
+
|
123 |
= v1.84 =
|
124 |
* 2021/01/21
|
125 |
* added quick links button
|
wp-reset.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Reset
|
4 |
Plugin URI: https://wpreset.com/
|
5 |
Description: Reset the entire site or just selected parts while reserving the option to undo by using snapshots.
|
6 |
-
Version: 1.
|
7 |
Requires at least: 4.0
|
8 |
Requires PHP: 5.2
|
9 |
Tested up to: 5.6
|
@@ -110,7 +110,6 @@ class WP_Reset
|
|
110 |
add_filter('plugin_action_links_' . plugin_basename(__FILE__), array($this, 'plugin_action_links'));
|
111 |
add_filter('plugin_row_meta', array($this, 'plugin_meta_links'), 10, 2);
|
112 |
add_filter('admin_footer_text', array($this, 'admin_footer_text'));
|
113 |
-
add_filter('install_plugins_table_api_args_featured', array($this, 'featured_plugins_tab'));
|
114 |
|
115 |
$this->core_tables = array_map(function ($tbl) {
|
116 |
global $wpdb;
|
@@ -415,15 +414,11 @@ class WP_Reset
|
|
415 |
}
|
416 |
|
417 |
wp_enqueue_style('plugin-install');
|
418 |
-
// todo: test & remove
|
419 |
-
wp_enqueue_style('wp-jquery-ui-dialog');
|
420 |
wp_enqueue_style('wp-reset', $this->plugin_url . 'css/wp-reset.css', array(), $this->version);
|
421 |
wp_enqueue_style('wp-reset-sweetalert2', $this->plugin_url . 'css/sweetalert2.min.css', array(), $this->version);
|
422 |
wp_enqueue_style('wp-reset-tooltipster', $this->plugin_url . 'css/tooltipster.bundle.min.css', array(), $this->version);
|
423 |
|
424 |
wp_enqueue_script('plugin-install');
|
425 |
-
// todo: test & remove
|
426 |
-
wp_enqueue_script('jquery-ui-dialog');
|
427 |
wp_enqueue_script('jquery-ui-tabs');
|
428 |
wp_enqueue_script('wp-reset-sweetalert2', $this->plugin_url . 'js/wp-reset-libs.min.js', array('jquery'), $this->version, true);
|
429 |
wp_enqueue_script('wp-reset', $this->plugin_url . 'js/wp-reset.js', array('jquery'), $this->version, true);
|
@@ -2177,13 +2172,13 @@ class WP_Reset
|
|
2177 |
$rows['Granular Content Reset Tools'] = array(false, true, true, true);
|
2178 |
$rows['User Snapshots'] = array(true, true, true, true);
|
2179 |
$rows['Automatic Snapshots'] = array(false, true, true, true);
|
2180 |
-
$rows['Offload Snapshots to WP Reset Cloud, 2GB storage per site'] = array(false, true, true, true);
|
2181 |
-
$rows['Offload Snapshots to Dropbox, Google Drive & pCloud'] = array(false, true, true, true);
|
2182 |
$rows['Plugins & Themes Collections'] = array(false, true, true, true);
|
2183 |
$rows['Emergency Recovery Script'] = array(false, true, true, true);
|
2184 |
$rows['Email Support'] = array(false, true, true, true);
|
2185 |
$rows['WP Reset Dashboard'] = array(false, true, true, true);
|
2186 |
-
$rows['License Manager'] = array(false,
|
2187 |
$rows['White-Label'] = array(false, false, false, true);
|
2188 |
$rows['Manage Snapshots for all sites in Dashboard'] = array(false, true, true, true);
|
2189 |
$rows['Manage Collections for all sites in Dashboard'] = array(false, true, true, true);
|
@@ -2990,81 +2985,6 @@ class WP_Reset
|
|
2990 |
} // generate_snapshot_uid
|
2991 |
|
2992 |
|
2993 |
-
/**
|
2994 |
-
* Helper function for adding plugins to featured list
|
2995 |
-
*
|
2996 |
-
* @return array
|
2997 |
-
*/
|
2998 |
-
function featured_plugins_tab($args)
|
2999 |
-
{
|
3000 |
-
add_filter('plugins_api_result', array($this, 'plugins_api_result'), 10, 3);
|
3001 |
-
|
3002 |
-
return $args;
|
3003 |
-
} // featured_plugins_tab
|
3004 |
-
|
3005 |
-
|
3006 |
-
/**
|
3007 |
-
* Add single plugin to featured list
|
3008 |
-
*
|
3009 |
-
* @return object
|
3010 |
-
*/
|
3011 |
-
function add_plugin_featured($plugin_slug, $res)
|
3012 |
-
{
|
3013 |
-
// check if plugin is already on the list
|
3014 |
-
if (!empty($res->plugins) && is_array($res->plugins)) {
|
3015 |
-
foreach ($res->plugins as $plugin) {
|
3016 |
-
if (is_object($plugin) && !empty($plugin->slug) && $plugin->slug == $plugin_slug) {
|
3017 |
-
return $res;
|
3018 |
-
}
|
3019 |
-
} // foreach
|
3020 |
-
}
|
3021 |
-
|
3022 |
-
$plugin_info = get_transient('wf-plugin-info-' . $plugin_slug);
|
3023 |
-
|
3024 |
-
if (!$plugin_info) {
|
3025 |
-
$plugin_info = plugins_api('plugin_information', array(
|
3026 |
-
'slug' => $plugin_slug,
|
3027 |
-
'is_ssl' => is_ssl(),
|
3028 |
-
'fields' => array(
|
3029 |
-
'banners' => true,
|
3030 |
-
'reviews' => true,
|
3031 |
-
'downloaded' => true,
|
3032 |
-
'active_installs' => true,
|
3033 |
-
'icons' => true,
|
3034 |
-
'short_description' => true,
|
3035 |
-
)
|
3036 |
-
));
|
3037 |
-
if (!is_wp_error($plugin_info)) {
|
3038 |
-
set_transient('wf-plugin-info-' . $plugin_slug, $plugin_info, DAY_IN_SECONDS * 7);
|
3039 |
-
}
|
3040 |
-
}
|
3041 |
-
|
3042 |
-
if (!empty($res->plugins) && is_array($res->plugins) && $plugin_info && is_object($plugin_info)) {
|
3043 |
-
array_unshift($res->plugins, $plugin_info);
|
3044 |
-
}
|
3045 |
-
|
3046 |
-
return $res;
|
3047 |
-
} // add_plugin_featured
|
3048 |
-
|
3049 |
-
|
3050 |
-
/**
|
3051 |
-
* Add plugins to featured plugins list
|
3052 |
-
*
|
3053 |
-
* @return object
|
3054 |
-
*/
|
3055 |
-
function plugins_api_result($res, $action, $args)
|
3056 |
-
{
|
3057 |
-
remove_filter('plugins_api_result', array($this, 'plugins_api_result'), 10, 3);
|
3058 |
-
|
3059 |
-
$res = $this->add_plugin_featured('sticky-menu-or-anything-on-scroll', $res);
|
3060 |
-
$res = $this->add_plugin_featured('eps-301-redirects', $res);
|
3061 |
-
$res = $this->add_plugin_featured('simple-author-box', $res);
|
3062 |
-
$res = $this->add_plugin_featured('accessibe', $res);
|
3063 |
-
|
3064 |
-
return $res;
|
3065 |
-
} // plugins_api_result
|
3066 |
-
|
3067 |
-
|
3068 |
/**
|
3069 |
* Clean up on uninstall; no action on deactive at the moment
|
3070 |
*
|
3 |
Plugin Name: WP Reset
|
4 |
Plugin URI: https://wpreset.com/
|
5 |
Description: Reset the entire site or just selected parts while reserving the option to undo by using snapshots.
|
6 |
+
Version: 1.85
|
7 |
Requires at least: 4.0
|
8 |
Requires PHP: 5.2
|
9 |
Tested up to: 5.6
|
110 |
add_filter('plugin_action_links_' . plugin_basename(__FILE__), array($this, 'plugin_action_links'));
|
111 |
add_filter('plugin_row_meta', array($this, 'plugin_meta_links'), 10, 2);
|
112 |
add_filter('admin_footer_text', array($this, 'admin_footer_text'));
|
|
|
113 |
|
114 |
$this->core_tables = array_map(function ($tbl) {
|
115 |
global $wpdb;
|
414 |
}
|
415 |
|
416 |
wp_enqueue_style('plugin-install');
|
|
|
|
|
417 |
wp_enqueue_style('wp-reset', $this->plugin_url . 'css/wp-reset.css', array(), $this->version);
|
418 |
wp_enqueue_style('wp-reset-sweetalert2', $this->plugin_url . 'css/sweetalert2.min.css', array(), $this->version);
|
419 |
wp_enqueue_style('wp-reset-tooltipster', $this->plugin_url . 'css/tooltipster.bundle.min.css', array(), $this->version);
|
420 |
|
421 |
wp_enqueue_script('plugin-install');
|
|
|
|
|
422 |
wp_enqueue_script('jquery-ui-tabs');
|
423 |
wp_enqueue_script('wp-reset-sweetalert2', $this->plugin_url . 'js/wp-reset-libs.min.js', array('jquery'), $this->version, true);
|
424 |
wp_enqueue_script('wp-reset', $this->plugin_url . 'js/wp-reset.js', array('jquery'), $this->version, true);
|
2172 |
$rows['Granular Content Reset Tools'] = array(false, true, true, true);
|
2173 |
$rows['User Snapshots'] = array(true, true, true, true);
|
2174 |
$rows['Automatic Snapshots'] = array(false, true, true, true);
|
2175 |
+
$rows['Automatically Offload Snapshots to WP Reset Cloud, 2GB storage per site'] = array(false, true, true, true);
|
2176 |
+
$rows['Automatically Offload Snapshots to Dropbox, Google Drive & pCloud'] = array(false, true, true, true);
|
2177 |
$rows['Plugins & Themes Collections'] = array(false, true, true, true);
|
2178 |
$rows['Emergency Recovery Script'] = array(false, true, true, true);
|
2179 |
$rows['Email Support'] = array(false, true, true, true);
|
2180 |
$rows['WP Reset Dashboard'] = array(false, true, true, true);
|
2181 |
+
$rows['License Manager'] = array(false, true, true, true);
|
2182 |
$rows['White-Label'] = array(false, false, false, true);
|
2183 |
$rows['Manage Snapshots for all sites in Dashboard'] = array(false, true, true, true);
|
2184 |
$rows['Manage Collections for all sites in Dashboard'] = array(false, true, true, true);
|
2985 |
} // generate_snapshot_uid
|
2986 |
|
2987 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2988 |
/**
|
2989 |
* Clean up on uninstall; no action on deactive at the moment
|
2990 |
*
|