Commit Graph

24397 Commits

Author SHA1 Message Date
Claudio Sanches b4347f4071 Restore global $GLOBALS['post'] after render products shortcode
Closes #17769
2017-11-17 18:38:30 -02:00
Claudio Sanches 36e7bb04a1
Merge pull request #17774 from woocommerce/fix/npm-grunt-stylelint-unmet-dependency
Npm package grunt-stylelint requires stylelint as a peer dependency
2017-11-17 18:31:27 -02:00
Claudio Sanches 7c955591d7 Introduces _start and _end hooks into order preview template 2017-11-17 18:30:01 -02:00
Claudio Sanches 3f6dfb531c
Merge pull request #17748 from woocommerce/fix/orders-rest-api-schema-types
Rest API: Update the schema types for tax_class and price
2017-11-17 17:54:10 -02:00
Claudio Sanches d9d27a9a97 Fixed "tax_class" type in REST API v1 2017-11-17 17:52:12 -02:00
Rodrigo Primo 7de52d77ae npm package grunt-stylelint requires stylelint as a peer dependency
It is necessary to add stylelint directly to package.json as it is a peer dependency of grunt-stylelint. Doing this to fix the following npm warning:

```
npm WARN grunt-stylelint@0.8.0 requires a peer of stylelint@^7.8.0 but none was installed.
```
2017-11-17 17:02:19 -02:00
Rodrigo Primo 8b1b6772e3 npm automatically organizes the package list alphabetically 2017-11-17 16:52:41 -02:00
Brandon Kraft 7e9068ac53
Correct errors per PHPCS 2017-11-17 12:10:58 -06:00
Claudiu Lodromanean 9c1d3b8108
Merge pull request #17726 from woocommerce/fix/17713
non-enabled children should not be ignored
2017-11-17 10:07:38 -08:00
Brandon Kraft 5974901124
Change default text for checkout page link 2017-11-17 11:17:22 -06:00
Mike Jolley 72e078e83e Merge branch 'fix/17236'
# Conflicts:
#	includes/class-woocommerce.php
2017-11-17 12:49:02 +00:00
Mike Jolley 21e51b9fc6
Merge pull request #17692 from woocommerce/update/16925
Add add_to_cart_description method and aria-labels to cart buttons in the loop
2017-11-17 12:35:50 +00:00
Mike Jolley 14a657e7cc
Merge pull request #17728 from woocommerce/fix/17712
Default variation tax class should be 'same as parent'
2017-11-17 12:22:11 +00:00
Mike Jolley 8fe5d6bad0
Merge pull request #17676 from woocommerce/update/17672
Clear transients when product terms are updated
2017-11-17 12:21:53 +00:00
Mike Jolley 97d9a35437 Merge branch 'feature/regenerate-images'
# Conflicts:
#	includes/class-woocommerce.php
2017-11-17 12:12:35 +00:00
Mike Jolley 9b68610c7b
Merge pull request #17718 from woocommerce/fix/17717
Added missing meta info (author and date) when adding order note.
2017-11-17 12:03:31 +00:00
Mike Jolley e9ba9736fc
Merge pull request #17740 from woocommerce/fix/wizard-payment-escaping
Wizard: Fix escaping in payment description
2017-11-17 11:47:59 +00:00
The Dramatist 85ce4e0078 Class wc emails backorder method extract function removed (#17724)
* Replaced extract() function usage.

Usage of `extract()` is kinda discouraged. Though here the array `$args` is verified, I think avoiding this `extract()` function will make it better. Besides, without `extract()` the code is more readable and easily understandable.

* Object checking should be done.

Checking `$args['product']` is an object or not should be done before `get_formatted_name()` method is being called.
2017-11-17 11:38:26 +00:00
Will G 07431b0620
Responsive table for order downloads 2017-11-17 00:21:28 -05:00
Kelly Dwan 5bb04dd61f Rest API: Update the schema types for tax_class and price 2017-11-16 16:39:14 -05:00
Claudio Sanches 563896931e Introduced hooks to allow custom content into order preview 2017-11-16 18:48:47 -02:00
Claudio Sanches 885d0aa415 Fixed WC_Tests_Formatting_Functions::test_wc_do_oembeds() 2017-11-16 17:59:50 -02:00
Mike Jolley facdc49fad Total should be a string 2017-11-16 19:47:34 +00:00
Mike Jolley bdea242019 Schema: Attributes are an array of strings 2017-11-16 19:44:14 +00:00
Claudio Sanches a32fae4191 Fixed WC_Tests_Product_Data::test_product_getters_and_setters tests 2017-11-16 17:23:42 -02:00
Claudio Sanches 4d55aaf4ef Fixed WC_Tests_Discounts::test_calculations 2017-11-16 17:08:45 -02:00
Claudio Sanches 876f67a5a9 Fixed non existing product on Products_API::test_get_products_without_permission 2017-11-16 16:59:21 -02:00
Mike Jolley a899b53b57 Unit test fix: Exclude syntax_highlighting 2017-11-16 18:58:09 +00:00
Claudio Sanches c140331dc3 [Unit Tests] Clean products after tested is complete 2017-11-16 16:56:30 -02:00
Claudio Sanches b32754a035
Merge pull request #17742 from woocommerce/refactor/shortcode-save-only-ids
Query and save only IDs of products when fetching products by shortcode
2017-11-16 15:27:48 -02:00
Claudio Sanches 01983e6b96 Query and save only IDs of products when fetching products by shortcode 2017-11-16 15:14:36 -02:00
Valerie e9985146d5 Wizard: Fix escaping in payment description 2017-11-16 11:29:21 -05:00
Mike Jolley 97a1972caa
Merge pull request #17737 from woocommerce/fix/html
Fix invalid html
2017-11-16 16:12:20 +00:00
claudiulodro dd0f748211 Fix invalid html 2017-11-16 08:01:59 -08:00
Mike Jolley 591806fd20
Merge pull request #17730 from JeroenSormani/profile-copy-button
Assign type='button' to 'Copy from billing address'
2017-11-16 14:43:46 +00:00
JeroenSormani 453862c02f Assign type='button' to 'Copy from billing address' 2017-11-16 14:46:05 +01:00
Mike Jolley 40fdff510c
Merge pull request #17729 from woocommerce/fix/skip-wp_kses_post
Skip wp_kses_post call on image
2017-11-16 13:18:08 +00:00
Mike Jolley d3d6a47221 readme update 2017-11-16 13:16:28 +00:00
Gerhard Potgieter a4532b1e0b Make method private again and add new method that checks if new theme declares theme support with custom sizes before generating images. 2017-11-16 15:02:34 +02:00
Gerhard Potgieter c9cd9b033b Public method not private, self not $this. 2017-11-16 14:53:44 +02:00
Boro Sitnikovski fe9b9658a5 Skip wp_kses_post call on image 2017-11-16 13:48:04 +01:00
Gerhard Potgieter 17e588d713 Add method to regenerate images when the theme is switched. 2017-11-16 14:37:33 +02:00
Mike Jolley 710927a278 Default variation tax class should be 'same as parent'
Closes #17712
2017-11-16 12:19:31 +00:00
Gerhard Potgieter 3a738d9235 Move filters before calling the callback. Target specific option only when doing the check. 2017-11-16 14:15:30 +02:00
Mike Jolley 4e836754a8 Merge branch 'master' into fix/17713 2017-11-16 12:04:26 +00:00
Mike Jolley 67144be628
Merge pull request #17727 from woocommerce/fix/get_object_subtotal
Fix variable in get_object_subtotal
2017-11-16 12:03:58 +00:00
Mike Jolley 72b3b5055b FIx variable in get_object_subtotal 2017-11-16 12:03:02 +00:00
Mike Jolley 11d0293ddd non-enabled children should not be ignored
This fixes #17713 by also returning private children (non-enabled).
2017-11-16 11:56:51 +00:00
Mike Jolley 541dde95b3
Merge pull request #17710 from woocommerce/fix/17697-coupon-spend-incl-taxes
Coupon min/max spend based on displayed subtotal
2017-11-16 10:59:43 +00:00
Gerhard Potgieter a59f325f41 Add get_object_subtotal helper method, remove subtotal variable in favor of helper method 2017-11-16 12:43:50 +02:00