Commit Graph

19078 Commits

Author SHA1 Message Date
Amit Sidhpura 887aa5fe1b sorry change zone in action to shipping_zone 2017-01-07 11:16:31 +05:30
Amit Sidhpura 8de220beeb Actions on delete of zone and zone method
Hooks on delete of zone and zone method.
I have named it 'woocommerce_delete_zone' and 'woocommerce_delete_zone_mehod' making it same format as customer delete action
'woocommerce_delete_customer'.
2017-01-07 11:10:36 +05:30
Kathy Darling 8d4844a31c space after parens 2017-01-06 14:39:02 -05:00
Mike Jolley 66c3cff76d More escaping 2017-01-06 14:09:36 +00:00
Mike Jolley 76f8c3dddd Escaping for scruitinizer 2017-01-06 12:45:28 +00:00
Mike Jolley 54352de9b4 Merge pull request #12767 from woocommerce/deprecated-actions
Add hooks when error_logging deprecation notices on AJAX calls.
2017-01-06 12:05:16 +00:00
Mike Jolley 50274e44c4 Merge pull request #12762 from woocommerce/deprecated-args-12718
Factory classname handling
2017-01-06 11:59:20 +00:00
Mike Jolley f03e09e791 Comment 2017-01-06 11:59:05 +00:00
Mike Jolley b150e4c790 Fix image display when only placeholders are visible. 2017-01-06 11:51:09 +00:00
Mike Jolley 32a3e76851 Min 2017-01-06 11:37:06 +00:00
Mike Jolley c6ae59c991 Move ajax logic into check_variations so it's triggered on page load
Fixes #12768
2017-01-06 11:36:04 +00:00
Justin Shreve 39fe17ec45 Add hooks when error_logging deprecation notices on AJAX calls. 2017-01-05 10:54:10 -08:00
Mike Jolley f7d72afcf9 Detect classname when saving attributes 2017-01-05 16:54:47 +00:00
Mike Jolley ee7ee26278 Add static method to get a filtered product classname 2017-01-05 16:54:33 +00:00
Mike Jolley 813ec28c7b Remove type check in link_all_variations 2017-01-05 16:17:46 +00:00
Mike Jolley fdbb36bb93 Support deprecated args again 2017-01-05 16:16:19 +00:00
Jon Surrell d38e22329f Replace count with empty check 2017-01-05 16:33:58 +01:00
Jon Surrell e6bcc1aeb6 Replace 'All' with 'All sources' in dropdown 2017-01-05 16:23:03 +01:00
Mike Jolley 17f78d9668 Fallback to full image
Closes #12759
2017-01-05 14:31:04 +00:00
Mike Jolley f7abf29f25 Merge pull request #12754 from woocommerce/sync-variation-names-12707
Sync variation names
2017-01-05 12:15:06 +00:00
Mike Jolley f50c4ab428 Merge pull request #12758 from woocommerce/order-helper-product-param
Unit Tests: Add new parameter to order helper create_order method
2017-01-05 12:14:22 +00:00
Dwain Maralack e8fc25bb00 Unit Tests: Add new parameter to order helper create_order method to allow clients to override the default product. 2017-01-05 11:23:22 +02:00
Claudio Sanches 90027776cd Merge pull request #12757 from woocommerce/php71
[2.7] Fix PHP 7.1 warnings/notices.
2017-01-04 16:56:39 -02:00
Justin Shreve e4937b898d Fix PHP 7.1 warnings/notices. 2017-01-04 10:45:45 -08:00
Kathy Darling ff0926aa2d use wc_format_stock_quantity_for_display() to wrap stock quantity numbers for front end display. closes #12753. 2017-01-04 12:25:28 -05:00
Mike Jolley 5dba3d5bfe Sync variation names 2017-01-04 15:18:02 +00:00
Mike Jolley ec41ba9ff0 delete, don't trash, variations 2017-01-04 14:05:13 +00:00
Mike Jolley 5272f836a4 Merge branch 'read-price-data-caching' 2017-01-04 13:56:14 +00:00
Mike Jolley 564d3f4e33 Feedback 2017-01-04 13:56:07 +00:00
Mike Jolley f6949346f3 Min 2017-01-04 12:21:12 +00:00
Mike Jolley b791c627dd Allow options to be deselected in IE11 and fix add to cart check.
Fixes #12736 and #12721. Also seems to close #12706
2017-01-04 12:20:52 +00:00
Mike Jolley 7622733267 Disabled styles 2017-01-04 12:20:47 +00:00
Mike Jolley 13018752ea Merge pull request #12744 from woocommerce/fix/distinct-12689
Update wc_terms_clauses query
2017-01-04 10:47:49 +00:00
Mike Jolley d84a3bc45b Merge pull request #12751 from bekarice/wc-2-7-fix
[2.7] Fix undefined variable notice
2017-01-04 10:47:22 +00:00
Mike Jolley defab100b8 Merge pull request #12749 from woocommerce/fix/order-status-12705
Fix legacy order status response.
2017-01-04 10:41:16 +00:00
Beka Rice 85f06d7d02 [2.7] Fix undefined variable notice 2017-01-03 18:08:37 -05:00
Justin Shreve 94a33b694c Separate status and post_status in legacy output. status should match get_status exactly. 2017-01-03 14:04:41 -08:00
Claudio Sanches 0479f4a127 Merge pull request #12746 from franticpsyx/fix-undefined-qty_ordered-var
[2.7] Fix undefined '$qty_ordered' variable in 'wc_reduce_stock_levels'
2017-01-03 17:49:17 -02:00
Manos Psychogyiopoulos af378a619d fix undefined qty_ordered variable 2017-01-03 21:40:06 +02:00
Justin Shreve c560a65e1b Merge pull request #12742 from jtsternberg/patch-1
Add the shortcode name param to shortcodes where it is missing and `shortcode_atts` call where it is missing.
2017-01-03 11:05:48 -08:00
Justin Shreve 3513f50e55 Add tm.meta_value to the DISTINCT list since it is being used in the ORDER BY clause. 2017-01-03 10:43:48 -08:00
Claudio Sanches 2572df6140 Merge pull request #12743 from woocommerce/fix/coupon-api-12730
Fix coupon attribute keys for the API.
2017-01-03 16:28:51 -02:00
Justin Shreve 291a662be1 The WC API returns exclude_product_ids and expiry_date. 2.7 renamed these in the API file, which we should not do until we version the endpoints. 2017-01-03 10:25:36 -08:00
Justin Sternberg d07d704187 Add the shortcode_atts call to WC_Shortcode_Cart::output 2017-01-03 13:17:04 -05:00
Justin Sternberg 6d21f2170e Add the shortcode_atts call to WC_Shortcode_Checkout::output 2017-01-03 13:15:26 -05:00
Justin Sternberg 5f92dce1f3 Add the shortcode name param to the woocommerce_order_tracking shortcode 2017-01-03 13:13:27 -05:00
Justin Sternberg d036123ebf Add the shortcode name param to the woocommerce_my_account shortcode. 2017-01-03 13:12:12 -05:00
Justin Sternberg 37a387a391 Add the shortcode name param to the WC_Shipping_Legacy_Flat_Rate fee shortcode. 2017-01-03 13:12:00 -05:00
Justin Sternberg 6f5617eb2e Add the shortcode name param to the fee shortcode.
Re: #11447 and #12741
2017-01-03 13:05:43 -05:00
Claudio Sanches 8b85a0080d Merge pull request #12738 from woocommerce/api-12727
Return current variations after API update/create
2017-01-03 15:00:38 -02:00