Changeset 2668998
- Timestamp:
- 01/29/2022 08:59:54 PM (4 years ago)
- Location:
- sendwp
- Files:
-
- 4 added
- 10 edited
- 1 copied
-
assets/icon-128x128.png (modified) (1 prop) (previous)
-
assets/icon-256x256.png (modified) (1 prop) (previous)
-
tags/1.2.3 (copied) (copied from sendwp/trunk)
-
tags/1.2.3/README.md (added)
-
tags/1.2.3/includes/admin/views/menu.html.php (modified) (2 diffs)
-
tags/1.2.3/includes/deactivation.php (added)
-
tags/1.2.3/includes/functions.php (modified) (2 diffs)
-
tags/1.2.3/readme.txt (modified) (2 diffs)
-
tags/1.2.3/sendwp.php (modified) (2 diffs)
-
trunk/README.md (added)
-
trunk/includes/admin/views/menu.html.php (modified) (2 diffs)
-
trunk/includes/deactivation.php (added)
-
trunk/includes/functions.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/sendwp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sendwp/assets/icon-128x128.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
sendwp/assets/icon-256x256.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
sendwp/tags/1.2.3/includes/admin/views/menu.html.php
r2198929 r2668998 33 33 34 34 <p> 35 <strong>Questions?</strong> Get help at <a href="https://sendwp.com/ account/get-help">https://sendwp.com/account/get-help</a>35 <strong>Questions?</strong> Get help at <a href="https://sendwp.com/support">https://sendwp.com/support</a> 36 36 </p> 37 37 … … 55 55 </div> 56 56 57 <form action="<?php echo admin_url('admin-post.php'); ?>" method="post"> 58 <input type="hidden" name="action" value="sendwp_reset_plugin_data"> 59 <?php wp_nonce_field('reset_sendwp_data' . sendwp_get_client_secret()); ?> 60 61 <input class="button button-link" style="margin: 8px 0 0;" type="submit" value="Reset Security Hash"> 62 </form> 63 64 57 65 </div> 58 66 <!-- end of main content --> -
sendwp/tags/1.2.3/includes/functions.php
r2582938 r2668998 106 106 } 107 107 108 109 function sendwp_get_hash() 110 { 111 return sendwp_generate_hash(); 112 } 113 108 114 function sendwp_generate_hash() 109 115 { … … 203 209 return get_option('_transient_sendwp_pulse_monitor', 'unknown'); 204 210 } 211 212 function sendwp_reset_all_plugin_data() 213 { 214 if (check_admin_referer('reset_sendwp_data' . sendwp_get_client_secret())) { 215 $options = [ 216 'sendwp_client_secret', 217 ]; 218 219 foreach ($options as $option) { 220 if (get_option($option, false) !== false) { 221 delete_option($option); 222 } 223 } 224 225 sendwp_set_client_secret(sendwp_generate_secret()); 226 } 227 228 wp_redirect(sendwp_get_client_redirect()); 229 230 exit; 231 } 232 add_action( 'admin_post_sendwp_reset_plugin_data', 'sendwp_reset_all_plugin_data' ); -
sendwp/tags/1.2.3/readme.txt
r2595343 r2668998 4 4 Tags: forms, email, transactional 5 5 Requires at least: 5.1 6 Tested up to: 5. 86 Tested up to: 5.9 7 7 Requires PHP: 5.6.0 8 Stable Tag: 1. 18 Stable Tag: 1.2.2 9 9 License: GPLv2 or later 10 10 … … 31 31 == Upgrade Notice == 32 32 33 = 1. 1=33 = 1.2 = 34 34 35 * Small Updates 35 * Adds ability to reset local security secret in the admin. 36 * Deletes plugin data when plugin is deactivated. 36 37 37 38 == Changelog == 39 40 = 1.2 = 41 42 * Adds ability to reset local security secret in the admin. 43 * Deletes plugin data when plugin is deactivated. 38 44 39 45 = 1.1 = -
sendwp/tags/1.2.3/sendwp.php
r2595343 r2668998 4 4 * Plugin Name: SendWP 5 5 * Description: The easy solution to transactional email in WordPress. 6 * Version: 1. 16 * Version: 1.2.2 7 7 * Requires PHP: 5.6 8 8 */ … … 27 27 28 28 require_once plugin_dir_path(__FILE__) . 'includes/activation.php'; 29 require_once plugin_dir_path(__FILE__) . 'includes/deactivation.php'; -
sendwp/trunk/includes/admin/views/menu.html.php
r2198929 r2668998 33 33 34 34 <p> 35 <strong>Questions?</strong> Get help at <a href="https://sendwp.com/ account/get-help">https://sendwp.com/account/get-help</a>35 <strong>Questions?</strong> Get help at <a href="https://sendwp.com/support">https://sendwp.com/support</a> 36 36 </p> 37 37 … … 55 55 </div> 56 56 57 <form action="<?php echo admin_url('admin-post.php'); ?>" method="post"> 58 <input type="hidden" name="action" value="sendwp_reset_plugin_data"> 59 <?php wp_nonce_field('reset_sendwp_data' . sendwp_get_client_secret()); ?> 60 61 <input class="button button-link" style="margin: 8px 0 0;" type="submit" value="Reset Security Hash"> 62 </form> 63 64 57 65 </div> 58 66 <!-- end of main content --> -
sendwp/trunk/includes/functions.php
r2582938 r2668998 106 106 } 107 107 108 109 function sendwp_get_hash() 110 { 111 return sendwp_generate_hash(); 112 } 113 108 114 function sendwp_generate_hash() 109 115 { … … 203 209 return get_option('_transient_sendwp_pulse_monitor', 'unknown'); 204 210 } 211 212 function sendwp_reset_all_plugin_data() 213 { 214 if (check_admin_referer('reset_sendwp_data' . sendwp_get_client_secret())) { 215 $options = [ 216 'sendwp_client_secret', 217 ]; 218 219 foreach ($options as $option) { 220 if (get_option($option, false) !== false) { 221 delete_option($option); 222 } 223 } 224 225 sendwp_set_client_secret(sendwp_generate_secret()); 226 } 227 228 wp_redirect(sendwp_get_client_redirect()); 229 230 exit; 231 } 232 add_action( 'admin_post_sendwp_reset_plugin_data', 'sendwp_reset_all_plugin_data' ); -
sendwp/trunk/readme.txt
r2595343 r2668998 4 4 Tags: forms, email, transactional 5 5 Requires at least: 5.1 6 Tested up to: 5. 86 Tested up to: 5.9 7 7 Requires PHP: 5.6.0 8 Stable Tag: 1. 18 Stable Tag: 1.2.2 9 9 License: GPLv2 or later 10 10 … … 31 31 == Upgrade Notice == 32 32 33 = 1. 1=33 = 1.2 = 34 34 35 * Small Updates 35 * Adds ability to reset local security secret in the admin. 36 * Deletes plugin data when plugin is deactivated. 36 37 37 38 == Changelog == 39 40 = 1.2 = 41 42 * Adds ability to reset local security secret in the admin. 43 * Deletes plugin data when plugin is deactivated. 38 44 39 45 = 1.1 = -
sendwp/trunk/sendwp.php
r2595343 r2668998 4 4 * Plugin Name: SendWP 5 5 * Description: The easy solution to transactional email in WordPress. 6 * Version: 1. 16 * Version: 1.2.2 7 7 * Requires PHP: 5.6 8 8 */ … … 27 27 28 28 require_once plugin_dir_path(__FILE__) . 'includes/activation.php'; 29 require_once plugin_dir_path(__FILE__) . 'includes/deactivation.php';
Note: See TracChangeset
for help on using the changeset viewer.