Changeset 1545315
- Timestamp:
- 12/04/2016 11:06:19 AM (9 years ago)
- Location:
- wc-return-product/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wc_return_product.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-return-product/trunk/readme.txt
r1545049 r1545315 4 4 Requires at least: 3.8.1 5 5 Tested up to: 4.4.2 6 Stable tag: 1.4. 06 Stable tag: 1.4.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 40 40 41 41 == Changelog == 42 43 = 1.4.1 = 44 * Fix error warning notices 42 45 43 46 = 1.4.0 = -
wc-return-product/trunk/wc_return_product.php
r1545049 r1545315 8 8 * Plugin URL: http://castillogomez.com/ 9 9 * Description: Adds a form to order for return product 10 * Version: 1.4. 010 * Version: 1.4.1 11 11 * Author: Paco Castillo 12 12 * Author URI: http://castillogomez.com/ … … 253 253 $statusses = wc_get_order_statuses(); 254 254 $statusses_sel = get_option( 'wc_return_statuses' ); 255 $statusses_sel = is_array($statusses_sel) ? $statusses_sel : array(); 255 256 foreach ($statusses as $key => $value) { 256 257 echo ' <option value="' . $key . '" ' . ((in_array($key, $statusses_sel)) ? 'selected="selected"' : '') . '>' . $value . '</option>';
Note: See TracChangeset
for help on using the changeset viewer.