Commit Graph

18626 Commits

Author SHA1 Message Date
Mike Jolley b240e10b91 Merge branch 'pr/12756' 2017-01-11 12:19:30 +00:00
Mike Jolley 3e31f2f361 Syntax 2017-01-11 12:19:23 +00:00
Mike Jolley 11015c4b06 Pass products around and change how wc_format_stock_for_display gets called so $product is available. 2017-01-11 12:17:18 +00:00
Mike Jolley 4e12ca6332 Merge pull request #12775 from kahanit/patch-1
Actions on delete of zone and zone method
2017-01-11 11:06:42 +00:00
Mike Jolley 8212611307 Merge pull request #12795 from woocommerce/check-post-type
Check post type during read of coupons, posts, and products.
2017-01-11 11:05:10 +00:00
Mike Jolley b2364c1576 Merge pull request #12797 from Chouby/master
Fix duplicate_post_taxonomies() when using non unique slugs
2017-01-11 10:59:16 +00:00
Chouby 1a1a152e2e Fix duplicate_post_taxonomies() when using non unique slugs
Since WP 4.3, it is possible to use non unique terms slugs in the same taxonomy. Currently duplicate_post_taxonomies() uses the term slug in wp_set_object_terms(), thus may set a wrong term. I propose to use term_id instead, which ensures that the correct term is set.
2017-01-11 09:32:12 +01:00
Justin Shreve cddcb7841e Check post type during read of coupons, posts, and products. 2017-01-10 14:43:33 -08:00
Claudio Sanches 7d090957c8 Merge pull request #12794 from shivapoudel/wc-pages
Tweak - Exclude profile pages from WC pages
2017-01-10 16:37:12 -02:00
Shiva Poudel 8171c73e9b Tweak - Exclude profile pages from WC pages using array_diff 2017-01-10 21:55:11 +05:45
Mike Jolley 00250e8eab Fix date query format 2017-01-10 15:50:05 +00:00
Claudio Sanches 4b3c44fea3 Merge pull request #12791 from mattallan/system_status_endpoint_editable
Make the `GET /system_status` API response more customisable
2017-01-10 12:30:35 -02:00
Mike Jolley 451199a388 Hooks when creating refunds 2017-01-10 14:14:05 +00:00
Mike Jolley 5bfb372f01 Customer update hook 2017-01-10 14:14:05 +00:00
Mike Jolley b97f6c9eb1 wc_bool_to_string handling for 'true' 2017-01-10 14:14:05 +00:00
matttallan c45d81e650 Make the system_status GET endpoint more customisable 2017-01-10 16:06:09 +10:00
Claudio Sanches 1675aa51fb Merge pull request #12789 from aelia-co/layerednav-improved-navlink-filter
Improved filter `woocommerce_layered_nav_link`
2017-01-09 18:10:05 -02:00
Diego Zanella de02645544 Improved filter `woocommerce_layered_nav_link`
* Added term and taxonomy as additional parameters.
2017-01-09 19:27:01 +00:00
Claudio Sanches ca47661388 Fixed WC_Product::get_price_html_from_text deprecated message, closes #12779 2017-01-09 15:52:17 -02:00
Claudio Sanches 53451548a6 Merge pull request #12785 from woocommerce/account-order-template-classes
Update css classes to use latest convention. Also adds a class to the…
2017-01-09 14:35:36 -02:00
James Koster e77d3114f9 twenty seventeen styling tweaks
* Buttons in messages
* Method selector in shipping calculator
2017-01-09 15:40:10 +00:00
Mike Jolley 9bded96fec Merge pull request #12784 from franticpsyx/add-include-arg-to-wc_get_products
[2.7] Add 'include' arg to wc_get_products
2017-01-09 14:58:36 +00:00
James Koster d5b86259c5 Update css classes to use latest convention. Also adds a class to the tr based on the order status. closes #12658
Didn’t update the template version as we’re just adding new classes.
2017-01-09 13:32:32 +00:00
Manos Psychogyiopoulos 022fbe4183 add 'include' arg to wc_get_products 2017-01-09 14:10:47 +02:00
Mike Jolley 826b585765 Merge pull request #12783 from franticpsyx/variation-attributes-in-stock-reports
[2.7] Fix variation attributes formatting in stock reports
2017-01-09 10:29:45 +00:00
Manos Psychogyiopoulos bffdc27e8c fix variation attributes display in stock reports 2017-01-09 12:03:08 +02:00
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
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