Commit Graph

33261 Commits

Author SHA1 Message Date
Peter Fabian 962e9292b1 Margin for clear variations link to give it some space. 2019-11-22 16:22:57 +01:00
Peter Fabian b22a216bb1 Make the button symmetrical. 2019-11-22 16:19:33 +01:00
Peter Fabian 17e98afc2a Style product meta information.
Make it less prominent, offset it further away from the button.
2019-11-22 16:17:23 +01:00
Peter Fabian e188620232 Add padding to the variation picker table to make it same size as quantity picker. 2019-11-22 16:13:05 +01:00
Peter Fabian 301b976cfa Make Add to cart button same size as quantity input. 2019-11-22 16:12:15 +01:00
Julia Amosova 5c57759dbc Implement @jest/test-sequencer in order to run tests in specific order 2019-11-22 14:56:58 +00:00
Peter Fabian 177f720f1b Let the price have some more space from the bottom as well. 2019-11-22 15:54:43 +01:00
Peter Fabian 572ac52cb3 Make the product rating a bit less prominent, let the price have some more space. 2019-11-22 15:51:42 +01:00
Peter Fabian 9c74bf79ea Rather than setting the background in CSS, use the color picked in the
customizer.

This also fixes the background in the block editor and tinymce.
2019-11-22 15:37:54 +01:00
Peter Fabian ae2ebdb933 Main image size needs to correspond to settings in the PHP script. 2019-11-22 14:56:44 +01:00
Julia Amosova 59499da8ef Update products in the checkout verification & address filling functions 2019-11-22 12:33:08 +00:00
Denis Dvali 0810c4a027 Url encode value of "wccom-back" GET param in product links on in-app marketplace. 2019-11-22 15:02:58 +03:00
Peter Fabian fa48cd2aa7 Make single product page layout wider and enlarge breadcrumb offset. 2019-11-22 12:51:39 +01:00
Peter Fabian 0798098e05 Override default beige background to make the design more versatile and clean. 2019-11-22 12:36:23 +01:00
Julia Amosova 6f0617825a Resolving conflicts with feature branch 2019-11-21 17:21:58 +00:00
Christopher Allford a0c4d54b4a Updated NonceVerification code sniff suppressions
The suppressions come in two flavors, a warning and an error. The suppressions have been updated to respect those states accordingly.
2019-11-21 09:19:56 -08:00
Julia Amosova 5e083cfdbf Change the way navigation between My Account pages is done 2019-11-21 16:52:29 +00:00
Christopher Allford 8066f43188 Merge branch 'master' into fix/25004 2019-11-21 08:14:03 -08:00
Rodrigo Primo e292e95542 Update WPCS rule name that was change after an update 2019-11-21 12:17:10 -03:00
Rodrigo Primo 49b1294494 Simplify and modernize wc_print_r()
Replaces a call to call_user_func_array() with argument unpacking using the spread operator.
2019-11-21 12:04:08 -03:00
Rodrigo Primo 6cd08dc7bd Use the spread operator instead of call_user_func_array() in WC_Data_Store
This commit replaces a call to call_user_func_array() in WC_Data_Store::__call() with argument unpacking using the spread operator which was introduced in PHP 5.6. This change should improve WooCommerce performance a tiny bit since WC_Data_Store::__call() is called somewhat frequently and call_user_func_array() has a bad performance reputation. I added one unit test to make sure this change doesn't break the functionality of the altered method.
2019-11-21 11:52:47 -03:00
Rodrigo Primo fa875a4d25 Fix PHPCS errors in tests/framework/class-wc-dummy-data-store.php 2019-11-21 11:52:07 -03:00
Rodrigo Primo ed1c4b11b8 Fix PHPCS errors in WC_Tests_Data_Store class file 2019-11-21 10:41:27 -03:00
Rodrigo Primo 44b09cb15a Remove unused test method 2019-11-21 10:40:38 -03:00
Christopher Allford 8fd99a74b9 Added descriptive text to the usage tracking documentation link in the setup wizard 2019-11-20 12:47:56 -08:00
Christopher Allford 661f2b7722
Added a comment clarifying the suffix substring when checking slug uniqueness 2019-11-20 10:02:34 -08:00
Christopher Allford 55f49ae26a Added an appropriate @since tag to the generate_unique_slug method 2019-11-20 09:55:35 -08:00
Christopher Allford 4a8645c9b4 Changed the default sorting for the products shortcode to "menu_order"
In order to take advantage of the "Sorting" admin feature, we need to make use of the menu order sorting. Initially we were using the title, which would ignore whatever the user set.
2019-11-20 09:19:54 -08:00
Christopher Allford b12574e9e4 Fixed code sniffs 2019-11-20 08:16:19 -08:00
Christopher Allford 358825f006 Added a transient clear when product ordering is changed 2019-11-20 06:50:32 -08:00
Gerhard Potgieter 95a0a4c0a4
Merge pull request #24930 from arnofo/feature/empty-cart-action-new-parameter
pass the clear persistent cart variable to the cart emptied actions
2019-11-20 12:52:36 +02:00
Gerhard Potgieter 3e116716cd
Merge pull request #24944 from AdelDima/patch-1
Update abstract-wc-csv-batch-exporter.php
2019-11-20 12:33:40 +02:00
Gerhard Potgieter 5424b0ed31
Merge pull request #24969 from ranss/wc-anass
Use standarized plugin file path constant
2019-11-20 12:31:27 +02:00
Peter Fabian daf4a53acf Make single images larger. 2019-11-19 19:36:10 +01:00
Peter Fabian b1f0098cb5 Fixed stylelint issues (except for no-descending-specificity).
There is also one invalid unit for line-height, duplicate class declaration (but it's related to different styling areas, so left it there).
2019-11-19 19:32:45 +01:00
Peter Fabian 08d0b17678 Base the styling on Twenty Nineteen. 2019-11-19 19:13:10 +01:00
Peter Fabian bc04b8f45b Added basic declaration for WC support to Twentytwenty. 2019-11-19 17:58:16 +01:00
Renovate Bot ed51d59131
Update dependency eslint-config-wpcalypso to v5 2019-11-19 15:03:51 +00:00
Rodrigo Primo 81187dc359
Merge pull request #25062 from itzmekhokan/fix/25056
Fixed issue #25056
2019-11-19 11:58:25 -03:00
Rodrigo Primo d47a8fdc93
Merge pull request #25065 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.7.2
2019-11-19 11:53:05 -03:00
Gerhard 3581a6c578 Include tracker fields for processing order totals and dates. 2019-11-19 15:10:43 +02:00
Renovate Bot 2e02d68a4a
Update dependency autoprefixer to v9.7.2 2019-11-18 23:31:31 +00:00
Christopher Allford 753f39ff27 Added unique slug generation for variable product duplication
The standard wp_unique_post_slug() function will run one query per name collision, leading to a large number of queries being made when a product template is duplicated repeatedly. We can avoid this by doing the unique generation ourselves.
2019-11-18 13:49:41 -08:00
Christopher Allford 7f44e23813 Resolved all of the phpcs errors 2019-11-18 13:43:03 -08:00
Rodrigo Primo 8675e26c28
Merge pull request #24884 from woocommerce/fix/24881
Return correct country code if default location isn't found
2019-11-18 17:10:35 -03:00
Rodrigo Primo 28bc4b242c
Merge pull request #25028 from woocommerce/feature/25019
Introduced hooks before and after settings form
2019-11-18 16:49:11 -03:00
Rodrigo Primo e5f8213149
Update name of the label used to indicate issues good for external contributors 2019-11-18 16:30:21 -03:00
Rodrigo Primo ec37b2bb27
Merge pull request #25041 from woocommerce/fix/25039
Fixed "Add payment method" menu highlight in My Account page
2019-11-18 15:57:52 -03:00
Rodrigo Primo 0a5ca3f144
Merge pull request #24756 from woocommerce/fix/24723
Changed thank you page text to follow PayPal guidelines
2019-11-18 15:29:59 -03:00
Claudio Sanches dd97b00815 Added "reviewBody" to review schema
Update get_comment_* functions args
2019-11-18 11:47:56 -03:00