Changeset 2909904
- Timestamp:
- 05/09/2023 05:00:34 AM (3 years ago)
- Location:
- patch-customer-retention/trunk
- Files:
-
- 3 edited
-
class.patch-retention-admin.php (modified) (3 diffs)
-
patch-customer-retention.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
patch-customer-retention/trunk/class.patch-retention-admin.php
r2885045 r2909904 49 49 $value = substr($value, 0, 80); 50 50 update_option($option, $value); 51 } else if (isset($_REQUEST['action']) && $_REQUEST['action'] === 'update' && isset($_REQUEST[$option])) { 52 $value = sanitize_text_field($_REQUEST[$option]); 53 // All values should be 80 characters or less 54 $value = substr($value, 0, 80); 55 update_option($option, $value); 51 56 } 52 57 } … … 93 98 ?> 94 99 <h2>WooCommerce Settings</h2> 95 <form method="post" action="options.php">100 <form method="post"> 96 101 <?php settings_fields( 'patch-general' ); ?> 97 102 <?php do_settings_sections( 'patch-general' ); ?> … … 174 179 <h2>Advanced Settings</h2> 175 180 <p>If you follow the connect process using the above button these fields will be automatically populated.</p> 176 <form method="post" action="options.php">181 <form method="post"> 177 182 <?php settings_fields( 'patch-general' ); ?> 178 183 <?php do_settings_sections( 'patch-general' ); ?> -
patch-customer-retention/trunk/patch-customer-retention.php
r2885045 r2909904 6 6 * Description: Patch provides eCommerce brands with EVERY tool they need to boost customer retention, maximize lifetime value, and keep customers coming back, for life! 7 7 * Author: Patch Customer Retention, Ben Oman 8 * Version: 1.0. 18 * Version: 1.0.2 9 9 * License: GPL v2 or later 10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html -
patch-customer-retention/trunk/readme.txt
r2885045 r2909904 5 5 Requires PHP: 7.0 6 6 License: GPL v2 or later 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 Tested up to: 6.1.1 9 9
Note: See TracChangeset
for help on using the changeset viewer.