Changeset 3115266
- Timestamp:
- 07/10/2024 05:33:41 AM (20 months ago)
- Location:
- one-click-order-reorder/trunk
- Files:
-
- 2 edited
-
includes/class-basket-order.php (modified) (6 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
one-click-order-reorder/trunk/includes/class-basket-order.php
r3110914 r3115266 473 473 public function ced_ocor_save_general_setting() { 474 474 475 $settings = get_option( 'ced_ocor_general_settings', false ); 475 476 if ( empty( $settings[ 'selectedUsers' ] ) and ! current_user_can( 'administrator' ) ) { 476 477 return; … … 750 751 public function ced_ocor_add_to_basket() { 751 752 753 $settings = get_option( 'ced_ocor_general_settings', false ); 754 752 755 if ( empty( $settings[ 'selectedUsers' ] ) and ! current_user_can( 'administrator' ) ) { 753 756 return; … … 815 818 public function ced_ocor_remove_from_basket() { 816 819 820 $settings = get_option( 'ced_ocor_general_settings', false ); 817 821 if ( empty( $settings[ 'selectedUsers' ] ) and ! current_user_can( 'administrator' ) ) { 818 822 return; … … 986 990 public function ced_ocor_add_basket_items_to_cart() { 987 991 992 $settings = get_option( 'ced_ocor_general_settings', false ); 988 993 if ( empty( $settings[ 'selectedUsers' ] ) and ! current_user_can( 'administrator' ) ) { 989 994 return; … … 1087 1092 public function ced_ocor_get_basket_items() { 1088 1093 1094 $settings = get_option( 'ced_ocor_general_settings', false ); 1089 1095 if ( empty( $settings[ 'selectedUsers' ] ) and ! current_user_can( 'administrator' ) ) { 1090 1096 return; … … 1189 1195 public function ced_ocor_get_attchment_icon_info() { 1190 1196 1197 $settings = get_option( 'ced_ocor_general_settings', false ); 1191 1198 if ( empty( $settings[ 'selectedUsers' ] ) and ! current_user_can( 'administrator' ) ) { 1192 1199 return; -
one-click-order-reorder/trunk/readme.txt
r3110934 r3115266 104 104 105 105 == Changelog == 106 = 1.1.13 = 107 * Compatible with updated WooCommerce and bug fix 106 108 107 109 = 1.1.10 =
Note: See TracChangeset
for help on using the changeset viewer.