Commit Graph

25168 Commits

Author SHA1 Message Date
Mike Jolley 87fd8b2feb Update pay link wording 2017-12-12 16:38:50 +00:00
claudiulodro 4af3f9f12f Add class back to paypal in wizard 2017-12-12 08:24:35 -08:00
Claudiu Lodromanean 07b40a6d99
Merge pull request #18108 from WPprodigy/more-customizer-things
Move some display settings to the customizer
2017-12-12 07:40:35 -08:00
Mike Jolley 6bd89b6106 Template version bumps
@claudiulodro
2017-12-12 13:13:00 +00:00
Mike Jolley e6b4b36e7d
Merge pull request #18096 from ramiy/patch-2
a11y: add `role=alert` to woocommerce error msgs
2017-12-12 13:10:19 +00:00
Mike Jolley 466cb3e1cb
Merge pull request #18074 from ramiy/patch-1
a11y: add `role=alert` to woocommerce message div
2017-12-12 13:10:10 +00:00
Mike Jolley b01484a7e4
Merge pull request #18107 from WPprodigy/fix-thumbnail-cropping-things
Fix thumbnail cropping things
2017-12-12 13:00:56 +00:00
Mike Jolley 4fc9f7594f
Merge pull request #18094 from woocommerce/fix/18083
Remove fragment when appending geolocation hash
2017-12-12 12:57:16 +00:00
Mike Jolley 91803be50c Fix install_actions action name 2017-12-12 11:42:59 +00:00
Caleb Burks a4f9d1e65a Docs update 2017-12-11 23:42:48 -06:00
Caleb Burks 2b2a0016d3 Move early return 2017-12-11 22:36:39 -06:00
Caleb Burks 53873857ef Move three display settings to customizer 2017-12-11 22:30:14 -06:00
Caleb Burks a767f11473 Product Grid settings should only show someimtes 2017-12-11 21:22:28 -06:00
Caleb Burks af4d7c6bcb Change filter to action 2017-12-11 21:09:16 -06:00
Caleb Burks ea29af1ac4 Use woocommerce_thumbnail_cropping_custom_height 2017-12-11 21:08:48 -06:00
Claudiu Lodromanean 1343cf0697
Merge pull request #18097 from rodrigoprimo/update/travis-php
Run unit tests against PHP 7.2 as well on Travis
2017-12-11 12:04:51 -08:00
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
Rodrigo Primo 6ecc3bc442 Use post_author field instead of post meta in orders admin page
This commit changes the query used to get a list of orders in the orders admin page to use post_author field instead of the _customer_user post meta when filtering orders by customer.

Testing this change on a local WooCommerce install with about 2.5 million entries in the wp_posts table and about 100 million entries in the wp_postmeta table I got the following results:

- The original query using _customer_user took 28 seconds to run
- The new query using post_author took 0.0008 seconds to run
2017-12-11 10:24:19 -02: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
Rodrigo Primo 997a6fa40d Make sure post_author is used only after WC 3.3.0 DB upgrade routine is executed 2017-12-08 15:55:53 -02: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