Changeset 3459431
- Timestamp:
- 02/12/2026 12:19:30 AM (6 weeks ago)
- Location:
- customize-my-account-for-woocommerce
- Files:
-
- 8 edited
- 1 copied
-
tags/3.7.17 (copied) (copied from customize-my-account-for-woocommerce/trunk)
-
tags/3.7.17/customize-my-account-for-woocommerce.php (modified) (1 diff)
-
tags/3.7.17/include/admin/wrap/subwrap/countof-settings.php (modified) (3 diffs)
-
tags/3.7.17/include/wcmamtx_countof_functions.php (modified) (2 diffs)
-
tags/3.7.17/readme.txt (modified) (1 diff)
-
trunk/customize-my-account-for-woocommerce.php (modified) (1 diff)
-
trunk/include/admin/wrap/subwrap/countof-settings.php (modified) (3 diffs)
-
trunk/include/wcmamtx_countof_functions.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
customize-my-account-for-woocommerce/tags/3.7.17/customize-my-account-for-woocommerce.php
r3459131 r3459431 4 4 Plugin URI: https://sysbasics.com 5 5 Description: Customize My account page. Add/Edit/Remove Endpoints. 6 Version: 3.7.1 66 Version: 3.7.17 7 7 Author: SysBasics 8 8 Author URI: https://sysbasics.com -
customize-my-account-for-woocommerce/tags/3.7.17/include/admin/wrap/subwrap/countof-settings.php
r3455183 r3459431 20 20 switch($key) { 21 21 case "orders": 22 if (is_array($value) && ($value['count_bubble'] != "03")) { 23 $value['count_bubble'] = "01"; 22 if (is_array($value) ) { 23 24 if (!isset($value['count_bubble'])) { 25 $value['count_bubble'] = "01"; 26 } else { 27 $value['count_bubble'] = $value['count_bubble']; 28 } 29 24 30 } 31 32 25 33 26 34 $count_bubble = isset($value['count_bubble']) && ($value['count_bubble'] == "01") ? "yes" : "no"; … … 35 43 36 44 case "downloads": 37 if (is_array($value) && ($value['count_bubble'] != "03")) { 38 $value['count_bubble'] = "01"; 45 if (is_array($value) ) { 46 47 if (!isset($value['count_bubble'])) { 48 $value['count_bubble'] = "01"; 49 } else { 50 $value['count_bubble'] = $value['count_bubble']; 51 } 52 39 53 } 40 54 $count_bubble = isset($value['count_bubble']) && ($value['count_bubble'] == "01") ? "yes" : "no"; … … 73 87 <div class="wcmamtx_count_div"> 74 88 <div class="wcmamtx_count_div_section_main"> 75 <input class="wcmamtx_accordion_input count_bubble2 wcmamtx_accordion_checkbox checkmark2" type="checkbox" name="wcmamtx_advanced_settings[<?php echo $key; ?>][count_bubble]" value="03" >89 <input class="wcmamtx_accordion_input count_bubble2 wcmamtx_accordion_checkbox checkmark2" type="checkbox" name="wcmamtx_advanced_settings[<?php echo $key; ?>][count_bubble]" value="03" <?php if (isset($value['count_bubble']) && ($value['count_bubble'] == "03")) { echo 'checked'; } ?>> 76 90 <input parentkey = "<?php echo $key; ?>" type="checkbox" data-toggle="toggle" data-on="<?php echo esc_html__('Yes','customize-my-account-for-woocommerce'); ?>" data-off="<?php echo esc_html__('No','customize-my-account-for-woocommerce'); ?>" data-size="sm" class="wcmamtx_accordion_input count_bubble wcmamtx_accordion_checkbox checkmark" type="checkbox" name="wcmamtx_advanced_settings[<?php echo $key; ?>][count_bubble]" value="01" <?php if (isset($count_bubble) && ($count_bubble == "yes")) { echo 'checked'; } elseif (!isset($value)) { echo 'checked'; } 77 91 // code... -
customize-my-account-for-woocommerce/tags/3.7.17/include/wcmamtx_countof_functions.php
r3455183 r3459431 243 243 case "orders": 244 244 245 if (is_array($value) && ($value['count_bubble'] != "03")) { 246 $value['count_bubble'] = "01"; 245 if (is_array($value) ) { 246 247 if (!isset($value['count_bubble'])) { 248 $value['count_bubble'] = "01"; 249 } else { 250 $value['count_bubble'] = $value['count_bubble']; 251 } 252 247 253 } 248 254 … … 257 263 case "downloads": 258 264 259 if (is_array($value) && ($value['count_bubble'] != "03")) { 260 $value['count_bubble'] = "01"; 265 if (is_array($value) ) { 266 267 if (!isset($value['count_bubble'])) { 268 $value['count_bubble'] = "01"; 269 } else { 270 $value['count_bubble'] = $value['count_bubble']; 271 } 272 261 273 } 262 274 -
customize-my-account-for-woocommerce/tags/3.7.17/readme.txt
r3459131 r3459431 7 7 WC Requires at least: 4.0 8 8 Requires PHP: 5.2 9 Stable tag: 3.7.1 69 Stable tag: 3.7.17 10 10 Requires Plugins: woocommerce 11 11 License: GPLv2 or later -
customize-my-account-for-woocommerce/trunk/customize-my-account-for-woocommerce.php
r3459131 r3459431 4 4 Plugin URI: https://sysbasics.com 5 5 Description: Customize My account page. Add/Edit/Remove Endpoints. 6 Version: 3.7.1 66 Version: 3.7.17 7 7 Author: SysBasics 8 8 Author URI: https://sysbasics.com -
customize-my-account-for-woocommerce/trunk/include/admin/wrap/subwrap/countof-settings.php
r3455183 r3459431 20 20 switch($key) { 21 21 case "orders": 22 if (is_array($value) && ($value['count_bubble'] != "03")) { 23 $value['count_bubble'] = "01"; 22 if (is_array($value) ) { 23 24 if (!isset($value['count_bubble'])) { 25 $value['count_bubble'] = "01"; 26 } else { 27 $value['count_bubble'] = $value['count_bubble']; 28 } 29 24 30 } 31 32 25 33 26 34 $count_bubble = isset($value['count_bubble']) && ($value['count_bubble'] == "01") ? "yes" : "no"; … … 35 43 36 44 case "downloads": 37 if (is_array($value) && ($value['count_bubble'] != "03")) { 38 $value['count_bubble'] = "01"; 45 if (is_array($value) ) { 46 47 if (!isset($value['count_bubble'])) { 48 $value['count_bubble'] = "01"; 49 } else { 50 $value['count_bubble'] = $value['count_bubble']; 51 } 52 39 53 } 40 54 $count_bubble = isset($value['count_bubble']) && ($value['count_bubble'] == "01") ? "yes" : "no"; … … 73 87 <div class="wcmamtx_count_div"> 74 88 <div class="wcmamtx_count_div_section_main"> 75 <input class="wcmamtx_accordion_input count_bubble2 wcmamtx_accordion_checkbox checkmark2" type="checkbox" name="wcmamtx_advanced_settings[<?php echo $key; ?>][count_bubble]" value="03" >89 <input class="wcmamtx_accordion_input count_bubble2 wcmamtx_accordion_checkbox checkmark2" type="checkbox" name="wcmamtx_advanced_settings[<?php echo $key; ?>][count_bubble]" value="03" <?php if (isset($value['count_bubble']) && ($value['count_bubble'] == "03")) { echo 'checked'; } ?>> 76 90 <input parentkey = "<?php echo $key; ?>" type="checkbox" data-toggle="toggle" data-on="<?php echo esc_html__('Yes','customize-my-account-for-woocommerce'); ?>" data-off="<?php echo esc_html__('No','customize-my-account-for-woocommerce'); ?>" data-size="sm" class="wcmamtx_accordion_input count_bubble wcmamtx_accordion_checkbox checkmark" type="checkbox" name="wcmamtx_advanced_settings[<?php echo $key; ?>][count_bubble]" value="01" <?php if (isset($count_bubble) && ($count_bubble == "yes")) { echo 'checked'; } elseif (!isset($value)) { echo 'checked'; } 77 91 // code... -
customize-my-account-for-woocommerce/trunk/include/wcmamtx_countof_functions.php
r3455183 r3459431 243 243 case "orders": 244 244 245 if (is_array($value) && ($value['count_bubble'] != "03")) { 246 $value['count_bubble'] = "01"; 245 if (is_array($value) ) { 246 247 if (!isset($value['count_bubble'])) { 248 $value['count_bubble'] = "01"; 249 } else { 250 $value['count_bubble'] = $value['count_bubble']; 251 } 252 247 253 } 248 254 … … 257 263 case "downloads": 258 264 259 if (is_array($value) && ($value['count_bubble'] != "03")) { 260 $value['count_bubble'] = "01"; 265 if (is_array($value) ) { 266 267 if (!isset($value['count_bubble'])) { 268 $value['count_bubble'] = "01"; 269 } else { 270 $value['count_bubble'] = $value['count_bubble']; 271 } 272 261 273 } 262 274 -
customize-my-account-for-woocommerce/trunk/readme.txt
r3459131 r3459431 7 7 WC Requires at least: 4.0 8 8 Requires PHP: 5.2 9 Stable tag: 3.7.1 69 Stable tag: 3.7.17 10 10 Requires Plugins: woocommerce 11 11 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.