Commit Graph

25447 Commits

Author SHA1 Message Date
Claudiu Lodromanean 6520ea493d
Merge pull request #18099 from aelia-co/fix-legacy_api-use_edit_context_when_setting_prices
Legacy API - Use "edit" context when checking if the product is on sale during an "edit" operation
2017-12-11 11:48:19 -08:00
Claudiu Lodromanean 3b437ed5e2
Merge pull request #17738 from woocommerce/add/klarna-and-square
Add Klarna and Square
2017-12-11 11:38:35 -08:00
claudiulodro ba363b6353 Bring up-to-date with master and resolve conflicts 2017-12-11 11:36:00 -08:00
Claudiu Lodromanean 7b81d39039
Merge pull request #18036 from woocommerce/tweak/script-data-filter
Add filter for script data
2017-12-11 10:51:56 -08:00
Claudiu Lodromanean 32be23f7dc
Merge pull request #18040 from woocommerce/update/setup-wizard-ppec-opt-out-in-all-countries
Setup wizard: PayPal Express Checkout opt-out in all countries
2017-12-11 10:31:48 -08:00
claudiulodro 3b94d0c52b Bring up-to-date with master and resolve conflict 2017-12-11 10:27:05 -08:00
Diego Zanella 218aebd329 Legacy API - Use "edit" context when setting product prices
Ensured that the "edit" context is used when checking if the product is on sale, like it's done when fetching product's regular and sale prices. This prevents price filters from running and, potentially, altering the prices set via the API.

* Ref. https://github.com/woocommerce/woocommerce/issues/17125
* Ref. 6e5cdc60e8
2017-12-11 17:08:53 +00:00
Claudiu Lodromanean c0e0f9c2cb
Merge pull request #18039 from woocommerce/add/setup-wizard-wcs-paypal-express-checkout-settings
Setup wizard: PayPal Express Checkout settings for rerouting via WCS
2017-12-11 08:26:24 -08:00
Rodrigo Primo 5915e6e892 Fix WPCS violations automatically using phpcbf 2017-12-11 14:24:54 -02:00
Rodrigo Primo c524f5b77f Run unit tests against PHP 7.2 as well on Travis 2017-12-11 13:56:47 -02:00
Paul Dechov 0f84a5eb4b Revise checkbox label 2017-12-11 09:50:27 -05:00
Rami Yushuvaev 255c3211ab
a11y: add `role=alert` to woocommerce error msgs
See #18074
2017-12-11 16:40:25 +02:00
Mike Jolley dd59a9c51c
Merge pull request #18093 from woocommerce/fix/unsupported-php-syntax
Replace PHP >= 5.4 syntax with PHP 5.2 alternative
2017-12-11 14:09:13 +00:00
Mike Jolley 43f8e1b056 Remove fragment when appending geolocation hash
Fixes #18083
2017-12-11 13:31:54 +00:00
Rodrigo Primo fc43bde6f8 Replace PHP >= 5.4 syntax with PHP 5.2 alternative
Commit 8f37ea33ed added the following line that works only on PHP >= 5.4 as function array dereferencing is not present in PHP version 5.3 or earlier. This commit fixes it by replacing that line with a alternative that is compatible with PHP >= 5.2.

6ecc3bc442/includes/admin/list-tables/class-wc-admin-list-table-orders.php (L189)
2017-12-11 11:20:42 -02:00
Mike Jolley a65db31443 Update text.
Closes #18078
2017-12-11 13:19:19 +00:00
Mike Jolley f4927ea837 Give control over loop button attributes
Closes #18079
2017-12-11 13:09:21 +00:00
Mike Jolley e7f51c9c48 Merge branch 'pr/18085' 2017-12-11 12:37:44 +00:00
Mike Jolley bd944cb664 Using $args makes it clearer what's in the variable. 2017-12-11 12:36:47 +00:00
Boro Sitnikovski 9d76af7607 Add deprecation notice for old hooks 2017-12-11 09:29:08 +01:00
Gerhard Potgieter 58dcaf287a
Merge pull request #18091 from parmarhardip/fix/spelling
Changed.
2017-12-11 10:11:35 +02:00
hardipparmar db14a2595f Changed. 2017-12-11 12:15:44 +05:30
Caleb Burks 92ee7da0aa Pass $args to woocommerce_loop_add_to_cart_link 2017-12-09 20:54:40 -06:00
Mike Jolley 426897ac2d
Merge pull request #18075 from woocommerce/update/extension-screen-styles
Update extension screen styles
2017-12-08 17:28:39 +00:00
Mike Jolley cb97f0fc80 Performance tweak; close connection before running queue. 2017-12-08 16:57:53 +00:00
Mike Jolley 39b947e1ee Prefix per site 2017-12-08 16:53:51 +00:00
Mike Jolley bbc9180951 Restore variable name 2017-12-08 16:47:52 +00:00
Mike Jolley 05eb303a6f Revert "Background processing; multisite should process current blog queue only"
This reverts commit c950dcc6e3.
2017-12-08 16:46:25 +00:00
Claudio Sanches eaa440df5f
Merge pull request #18071 from woocommerce/update/18045
Attributes; remove 'text' display option
2017-12-08 14:36:36 -02:00
Mike Jolley 1f109ba62e Merge branch 'pr/18072' 2017-12-08 16:32:58 +00:00
Mike Jolley 890ee4f1b9 This test cannot pass with refactor 2017-12-08 16:30:56 +00:00
Mike Jolley b4bfe6303f Keep public method around 2017-12-08 16:24:04 +00:00
Claudiu Lodromanean 99e948551f
Merge pull request #18076 from woocommerce/fix/18069
Shipping calculator and taxes
2017-12-08 08:17:45 -08:00
Mike Jolley 5b0df590c0
Merge pull request #18065 from woocommerce/improve/18064
Add default row/column control for themes
2017-12-08 16:14:19 +00:00
Mike Jolley 8e02bec1e9 Set max width 2017-12-08 16:10:52 +00:00
claudiulodro fef9d612c7 Better function name 2017-12-08 07:38:40 -08:00
claudiulodro b2cac1dcab Better description 2017-12-08 07:36:33 -08:00
claudiulodro e37391affb Set/remove defaults on theme activation 2017-12-08 07:33:42 -08:00
claudiulodro 600b1bd82c Revert "Add defaults control for themes"
This reverts commit 29090e4676.
2017-12-08 07:23:46 -08:00
Mike Jolley 1fbcff023d Include city field by default 2017-12-08 14:11:51 +00:00
Mike Jolley 912c3e2ef8 Process form fields if set 2017-12-08 14:11:41 +00:00
Mike Jolley c43f7eb014 Featured page styling 2017-12-08 13:32:45 +00:00
Mike Jolley d0db71c6c2 Flex grid for extension list 2017-12-08 13:23:08 +00:00
Rami Yushuvaev 29019b7713
a11y: add `role=alert` to woocommerce message div
Help assistive technology and to mark the message as important message. When this role is added to an element, the browser will send out an accessible alert event to assistive technology products which can then notify the user about it.
2017-12-08 15:22:07 +02:00
Mike Jolley 5c474adf44
Merge pull request #18073 from woocommerce/fix/18068
API: Use KSES for purchase_note like admin
2017-12-08 12:50:57 +00:00
Mike Jolley 2cadd82cb3 Min 2017-12-08 12:04:10 +00:00
Mike Jolley b6bc0d09a1 Fix select box styling in firefox
Closes #18070
2017-12-08 12:04:04 +00:00
Mike Jolley 1bf47c2a81 API: Use KSES for purchase_note like admin 2017-12-08 11:47:27 +00:00
Mike Jolley d5486be6c8 test 2017-12-08 11:35:26 +00:00
Mike Jolley 1944bf7191 Remove text type setting 2017-12-08 11:24:21 +00:00