Commit Graph

40820 Commits

Author SHA1 Message Date
Kamil 37794b2b7c
Additional parameters in `woocommerce_get_product_thumbnail` (#31605)
* Additional parameters in `woocommerce_get_product_thumbnail`

* Protection against potential wrong types of parameters

* Coding standards
2022-01-14 13:42:35 -05:00
Greg a1523c39fb
Merge pull request #31643 from MrJnrman/fix/update-github-action-env
Update ENV variables to be plain text
2022-01-14 10:53:30 -07:00
秋余 afde32fd01
If applied, this commit will format Line items price in order api (#31593)
* If applied, this commit will format Line items price in order api

When buying three products at price is 17.17. request /wp-json/wc/v3/orders api will get line_items prices is 17.169999999999998, this is because floating point numbers have limited precision.

* use wc_format_decimal function format line item price on order api
2022-01-14 12:35:46 -05:00
jamelreid 81b91e2ba3 Update ENV variables to be plain text 2022-01-14 11:54:32 -05:00
jonathansadowski 2a2b609055
Merge pull request #31640 from woocommerce/update/changelog-6.1
Prepare trunk to 6.3.0-dev and update changelog
2022-01-14 10:30:47 -06:00
Vedanshu Jain eb7a727371
Merge pull request #31435 from erikdemarco/patch-5
Filter enhancement
2022-01-14 18:42:32 +05:30
vedanshujain 7b8f3be261 Merge branch 'trunk' into pr/31317 2022-01-14 17:20:46 +05:30
vedanshujain 17f6671924 Merge branch 'trunk' into pr/31435 2022-01-14 17:01:30 +05:30
Vedanshu Jain fd658797d8
Merge pull request #31577 from woocommerce/issue/31562-filter-coupons-by-status
Issue/31562 filter coupons by status
2022-01-14 16:32:27 +05:30
Vedanshu Jain d5f32ee514
Merge pull request #31610 from woocommerce/fix/allow-block-taxonomy-product-templates
Allow Blocks for Custom Product taxonomies
2022-01-14 16:22:50 +05:30
Vedanshu Jain a9c1c6756a
Updated @since version 2022-01-14 15:57:31 +05:30
Claudio Sanches fa781ef9e7
Merge pull request #31623 from kvnang/trunk
Use inline `onload` event instead of jQuery `load`
2022-01-14 02:43:11 -03:00
Claudio Sanches ed69120f2c
Merge pull request #31641 from woocommerce/update/bump-woocommerce-admin-3.1.0-rc.1
Version bump WooCommerce Admin to 3.1.0-rc.1
2022-01-14 02:14:14 -03:00
Ilyas Foo e3357ff3bf Bump version 2022-01-14 07:39:59 +08:00
Claudio Sanches efcdcfa67c Prepares trunk to 6.3.0-dev and update changelog 2022-01-13 20:28:58 -03:00
Claudio Sanches 36f4ee84aa
Merge pull request #31556 from woocommerce/update/woocommerce-blocks-6.7.0
Update WooCommerce Blocks package to 6.7.1
2022-01-13 20:22:48 -03:00
Greg 3457917a3a
Merge pull request #31629 from woocommerce/fix/remove-duplicate-path-from-actions
Remove the need for duplicate `plugins/woocommerce` in path when running a single E2E test
2022-01-13 15:05:31 -07:00
Jamel Noel Reid 522fecf7f3
Merge pull request #31361 from woocommerce/add/apt-publish-config
Added public publish config for API core tests package
2022-01-13 15:45:49 -05:00
Greg c9953da73c Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/apt-publish-config 2022-01-13 12:16:39 -07:00
Miguel Perez Pellicer bfa5d2d14d Fix format for PHP < 7.3 2022-01-13 18:14:29 +01:00
Miguel Perez Pellicer 9ec469859b Fix format for PHP < 7.3 2022-01-13 18:10:26 +01:00
Miguel Perez Pellicer ae65c8c139 Adding Unit tests 2022-01-13 18:01:11 +01:00
jamelreid fe736d7d42 Merge branch 'trunk' into fix/remove-duplicate-path-from-actions 2022-01-13 10:55:38 -05:00
jamelreid c1d0f510af Updated CHANGELOG.md 2022-01-13 10:52:55 -05:00
jamelreid b89b67658a Updated method import 2022-01-13 10:52:44 -05:00
jamelreid 564ea31c5d Changed method name to resolveSingleE2EPath 2022-01-13 10:52:15 -05:00
Vedanshu Jain 4f8540a6c9
Merge pull request #31587 from esprssoo/trunk
Fix PHPDoc Type
2022-01-13 21:21:11 +05:30
Vedanshu Jain 7ef18a5879
Merge pull request #31634 from woocommerce/fix/2022-order-details-table-narrow
Fix order details table width on narrow viewports.
2022-01-13 15:53:43 +05:30
Peter Fabian 28f6760b00
Merge pull request #31557 from woocommerce/add-php-72-version-bump-notice
Add an admin notice about the upcoming change in PHP requirements
2022-01-13 10:14:06 +01:00
Nestor Soriano 0853bf411d
Fix a "__" that should be "esc_html__" (triggering deprecation notice) 2022-01-13 09:57:29 +01:00
Nestor Soriano 9821d5d0fe
Tryy to remove th PHP 7.2 bump notice only if it actually exists. 2022-01-13 08:57:51 +01:00
Vedanshu Jain 2a3360fb95
Merge pull request #31633 from woocommerce/fix/31324-checkout-block-overlay
Basis of overlay used when processing Twenty Twenty-Two checkout.
2022-01-13 09:21:00 +05:30
Jeff Stieler 6c8758118a Fix order details table width on narrow viewports. 2022-01-12 18:26:36 -07:00
Jeff Stieler be7b1b63f1 Add loading treatment to AJAX add to cart buttons. 2022-01-12 18:17:23 -07:00
barryhughes ef514df47d Import spin animation. 2022-01-12 17:08:12 -08:00
Barry Hughes cd73b57191
Modify background color for <mark> elements (#31631) 2022-01-12 19:55:07 -05:00
Barry Hughes 360ed8d3c6
Merge pull request #31630 from woocommerce/fix/2022-checkout-tweaks
Some 2022 Checkout Form Tweaks
2022-01-12 16:42:48 -08:00
Barry Hughes 06ea507191
Merge pull request #31632 from woocommerce/fix/2022-single-product-tabs-reviews
2002 Theme: Fix font sizes in single product tabs area, review form styling.
2022-01-12 16:33:14 -08:00
barryhughes a20513b919 Basis of overlay used when processing Twenty Twenty-Two checkout. 2022-01-12 16:18:23 -08:00
jamelreid e1f030f832 Updated comments 2022-01-12 18:37:05 -05:00
jamelreid f08da97fe6 Updated CHANGELOG.md 2022-01-12 18:27:43 -05:00
jamelreid 60630d19a2 Updated comments 2022-01-12 18:27:35 -05:00
Jeff Stieler be6feced4c Fix font sizes in single product tabs area, review form styling. 2022-01-12 16:21:13 -07:00
jamelreid cb3dee07ee Updated removePathDuplicates for smoke tests 2022-01-12 18:04:36 -05:00
Barry Hughes 045c3fb915
Center product cards (2022 Theme) (#31626)
* Center product cards (2022 Theme)

* Product card color.

* Center product rating in loops.

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2022-01-12 17:00:52 -05:00
Jeff Stieler accd914e54 Bold font for all price values on checkout. 2022-01-12 14:59:38 -07:00
Jeff Stieler 8e215949f8 Fix vertical alignment of prices on checkout. 2022-01-12 14:59:13 -07:00
Jeff Stieler 9c3afa0ab3 Fix product vendor display on checkout. 2022-01-12 14:58:54 -07:00
Josh Betz e9e7bed39b We can still assume the old status is pending
Per the code comment, we were already explicitly assuming draft posts
are "pending". That's fine and shouldn't block us from setting new posts
to auto-draft.
2022-01-12 14:53:52 -06:00
Josh Betz 58aca9855e PoC: Allow auto-draft in API orders
For some operations in the API, like calculating taxes or shipping, it's
helpful to be able to have an order saved in the database. Having an
order object with an ID lets us perform other API actions on that order.
However, we also don't necessarily want these to show up on certain
screens.

Here we adopt the auto-draft status from core WordPress as a way to save
an order as a discrete object while signalling that it's not ready to
action yet.

Suggestions:

* auto-draft might not make sense given that it's used in core. We might
  want to use something like `draft` instead.
* We may want to track this separate set of statuses (trash, auto-draft)
  in a more official way, so we don't have to copy/paste around the
  codebase.
2022-01-12 14:53:52 -06:00