Commit Graph

25045 Commits

Author SHA1 Message Date
Mike Jolley ce47fa65c2 Changelog + grunt 2017-10-11 10:50:39 +01:00
Mike Jolley 12d93803ee Merge pull request #17121 from woocommerce/update/wizard-payments-copy
Update payment step copy for Stripe, and fixes margins/spacing
2017-10-11 10:17:57 +01:00
Mike Jolley ec9385a148 Merge pull request #17130 from woocommerce/rodrigoprimo-patch-1
Quote code in the tests README.md file
2017-10-11 10:04:04 +01:00
grosssmutttr d9f0bd5e92 Keep link structure - prevent duplicate content
Added asort($current_filter) so the urls always look the same and there are not millions of urls possibilities when adding multiple filters.

Current url example:
https://myurl.com/produkt-kategorie/mycategory/?filter_filter-color=yellow,brown,blue,red
https://myurl.com/produkt-kategorie/mycategory/?filter_filter-color=yellow,blue,red,brown
https://myurl.com/produkt-kategorie/mycategory/?filter_filter-color=blue,yellow,red,brown
...

With asort you only have this url:
https://myurl.com/produkt-kategorie/mycategory/?filter_filter-color=blue,brown,red,yellow

So it is independent on the sequence a user adds a filter
2017-10-11 08:33:46 +02:00
Claudio Sanches bd68764682 Apply Webhook CRUD to WC_Admin_Webhooks 2017-10-10 17:15:37 -03:00
Claudio Sanches 714178996c Remove duplicated function 2017-10-10 16:16:16 -03:00
Claudio Sanches 368d958be4 Merge branch 'master' into feature/webhook-crud 2017-10-10 16:13:37 -03:00
Claudio Sanches c00fce3f94 Merge pull request #16490 from woocommerce/feature/16445
Webhooks CRUD and Data Store
2017-10-10 16:10:31 -03:00
Rodrigo Primo d862aaf29d Quote code in the tests README.md file
Use triple backticks to quote code in the tests README.md file. Without this change all the parameters of the script `tests/bin/install.sh` that are surrounded by `<>` are not displayed.
2017-10-10 15:07:24 -03:00
Marcin Bot 17e4f2a609 Merge pull request #17127 from woocommerce/fix/17122-setup-required-shipping-fields
Setup wizard - made the shipping cost fields required
2017-10-10 18:50:20 +02:00
Marcin Bot 01578d55c9 Wrapped the class name in esc_attr 2017-10-10 17:49:04 +01:00
Mike Jolley ae4838c073 Merge pull request #17128 from woocommerce/fix/gruntfile
Fixed extra comma in Gruntfile.js
2017-10-10 17:20:41 +01:00
Claudio Sanches 5244340bae Fixed extra comma in Gruntfile.js 2017-10-10 13:08:23 -03:00
Marcin Bot eaf8a09e82 Setup wizard - made the shipping cost fields required 2017-10-10 16:59:08 +01:00
Claudio Sanches b775074900 Fixed includes/wc-webhook-functions.php and removed debug 2017-10-10 12:59:04 -03:00
Mike Jolley 31367a72b8 Merge pull request #17123 from woocommerce/update/wizard-extras-copy
Setup wizard: add “powered by” to automated taxes description.
2017-10-10 16:39:45 +01:00
Mike Jolley c6d0a6e0be Merge pull request #17124 from cliffordp/patch-1
Correct docblock @return
2017-10-10 16:38:26 +01:00
Clifford 1474350f0f Correct docblock @return
From incorrect `string` to correct `array`
2017-10-10 10:31:16 -05:00
Jeff Stieler 24599524ba Setup wizard: add “powered by” to automated taxes description. 2017-10-10 09:24:13 -06:00
Mike Jolley 6b357bcfdc Updates the payment step copy and fixes margins 2017-10-10 15:40:03 +01:00
Claudio Sanches 2bd240ab15 Debug 2017-10-10 11:27:52 -03:00
Claudio Sanches c95137f9c0 Moved phpcs after phpunit 2017-10-10 10:50:22 -03:00
mehul0810 48e7575b10 Alignment Fix 2017-10-10 18:44:33 +05:30
mehul0810 aaa092159b Added using CRUD 2017-10-10 18:44:12 +05:30
Claudio Sanches f479d916e5 Fixed syntax error on phpcs.sh 2017-10-10 09:34:47 -03:00
Mike Jolley d4965e9df4 Merge pull request #17112 from woocommerce/fix/product-variations-tax-classes
Add 'parent' to the list of valid tax classes for product variations
2017-10-10 12:32:29 +01:00
mehul0810 9f66c9126b Minor Spacing Fix 2017-10-10 16:54:02 +05:30
mehul0810 0a4307ce40 Modified confirmation popup message 2017-10-10 16:52:37 +05:30
Jack 24efd36126 set query_vars (#17105)
* query_vars is set

* add changes
2017-10-10 12:14:35 +01:00
Mike Jolley 6098e25c9a Merge pull request #17102 from woocommerce/fix/thanks-page-classname
Classname was using total instead of email
2017-10-10 11:43:47 +01:00
Claudio Sanches 01cafe62d8 Updated phpcs.sh 2017-10-09 22:16:25 -03:00
Jeff Stieler 974f402017 Fix duplicate plugin install from wizard. (#17114)
* Setup wizard: avoid duplicate plugin installs.
* Setup wizard: use background flag to determine if Jetpack is being installed.
* Setup wizard: use wc_set_time_limit() instead of set_time_limit() to avoid potential warnings/errors.
2017-10-09 16:45:33 -06:00
Claudio Sanches b62b954f19 Small change to test PHPCS into Travis CI 2017-10-09 17:32:53 -03:00
Claudio Sanches ab04636ef0 Adds PHPCS in Travis CI 2017-10-09 17:31:15 -03:00
Claudio Sanches 87cf8f4809 Merge pull request #17106 from woocommerce/fix/activate-step-when-returning-from-wpcom
Setup wizard: activate step shouldn't be hidden after a successful WPCOM connection.
2017-10-09 16:59:53 -03:00
Rodrigo Primo fa0e5569f8 Add 'parent' to the list of valid tax classes for product variations
Commit d9f9e74bd added a check to `WC_Product::set_tax_class()` to only accept valid tax classes, but this created a bug for product variations as this type of product has an extra tax class called 'parent'.

This commit fixes this problem by adding a new method to `WC_Product` that returns a list of valid tax classes. `WC_Product_Variation` then override this method, returning another list including the tax class 'parent'.

Fixes #17024
2017-10-09 16:20:03 -03:00
Rodrigo Primo d769ef24f2 Coding standards fixes 2017-10-09 16:19:24 -03:00
Kathy Darling 0c18d8bab4 add woocommerce_grouped_product_list_after_price hook 2017-10-09 14:03:55 -05:00
Kathy Darling 98485d8bbf move woocommerce_grouped_product_list_before_price hook into <td> element 2017-10-09 14:03:35 -05:00
Mike Jolley 6d7522d864 Merge pull request #17075 from woocommerce/fix/phpunit-excluded-files
Updated tests exclusion list
2017-10-09 19:46:34 +01:00
Mike Jolley 6a035995a6 Merge pull request #17108 from woocommerce/update/phpcs-i18n
PHPCS - Check for translatable strings placeholders
2017-10-09 19:45:47 +01:00
Mike Jolley 30c98aaa2d Merge pull request #17107 from woocommerce/update/phpcs-check-for-xss-and-sanitization
PHPCS - Check for CSRF, sanitization and XSS.
2017-10-09 19:45:18 +01:00
Claudio Sanches 7ce5d9e1c6 Merge pull request #17109 from woocommerce/fix/17085-2
Translate "No matches found" message in filter widget
2017-10-09 15:39:51 -03:00
claudiulodro f1dac6f3ac Use esc_js instead of addslashes 2017-10-09 11:37:09 -07:00
Mike Jolley 6838b00c38 Merge pull request #17110 from woocommerce/fix/17104
Allow display_name to be searchable - this will commonly be full name
2017-10-09 19:29:26 +01:00
Mike Jolley fae130d038 Allow display_name to be searchable - this will commonly be full name
Closes #17104
2017-10-09 19:20:22 +01:00
claudiulodro 97d7ae7df8 Missing semicolon 2017-10-09 11:16:24 -07:00
claudiulodro 2ccd44afa7 Translate "no matches" message 2017-10-09 11:10:32 -07:00
Claudio Sanches 9acd6e14b7 PHPCS - Check for translatable strings placeholders
This also ensure that each placeholder have a properly description.
2017-10-09 14:11:22 -03:00
Claudio Sanches 1e2ec87d65 PHPCS - Check for CSRF, sanitization and XSS.
This include `wc_clean()` into PHPCS sanitization functions list.
2017-10-09 14:07:09 -03:00