Changeset 1954450
- Timestamp:
- 10/10/2018 09:41:07 AM (7 years ago)
- Location:
- woo-masterway/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
woocommerce-masterway.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-masterway/trunk/readme.txt
r1782760 r1954450 29 29 == Changelog == 30 30 31 = 1.0.2 = 32 * Fix. 33 31 34 = 1.0.1 = 32 35 * Fix. -
woo-masterway/trunk/woocommerce-masterway.php
r1814336 r1954450 126 126 add_settings_field($option['name'],$option['title'],array(&$this,$option['name']),$section['page'],$section['name']); 127 127 register_setting($section['page'],$option['name']); 128 $this->$option['name'] = get_option($option['name']); 128 $option_get_content = get_option($option['name']); 129 if($option_get_content) 130 { 131 $this->$option['name'] = $option_get_content; 132 } 129 133 } 130 134 } … … 204 208 add_settings_field($option['name'],$option['title'],array(&$this,$option['name']),$section['page'],$section['name']); 205 209 register_setting($section['page'],$option['name']); 206 $this->$option['name'] = get_option($option['name']); 210 $option_get_content = get_option($option['name']); 211 if($option_get_content) 212 { 213 $this->$option['name'] = $option_get_content; 214 } 207 215 } 208 216 }
Note: See TracChangeset
for help on using the changeset viewer.