Commit Graph

255 Commits

Author SHA1 Message Date
Peter Fabian d53a472bf1
Merge pull request #31105 from matchboxdesigngroup/fix/a11y-improvement-add-to-cart-variable
A11y improvement to the variable product add to cart table on product singles
2021-12-08 18:38:01 +01:00
Cullen Whitmore be19efe729 Bump the version string in the template header to 6.1.0 2021-12-08 10:13:11 -06:00
Adrian Duffell e4d670e035 Bump woocommerce-admin package to 2.9.1 2021-12-08 12:19:46 +08:00
Peter Fabian edcffa9912
Merge pull request #31338 from woocommerce/fix/28166-coupon-item-meta-data
Consistently Store Coupon Data in Order Item Meta
2021-12-07 18:35:08 +01:00
Barry Hughes b439bbd612
Merge pull request #31383 from woocommerce/fix/base-address-wording-2
Make the setting's name for default customer location more accurately reflect the effect of it.
2021-12-07 09:28:44 -08:00
Barry Hughes acbe200c79
Merge pull request #31113 from kkmuffme/use-native-wp_doing_ajax
Use native wp_doing_ajax() instead of custom is_ajax()
2021-12-07 09:26:40 -08:00
barryhughes ca37d3ba41 Deprecation will be as of 6.1.0. 2021-12-07 08:59:17 -08:00
Peter Fabian 1003a27b1b Make the setting's name more accurately reflect the effect of it. 2021-12-07 17:41:04 +01:00
Cullen Whitmore a96eb4d583 Merge branch 'trunk' into fix/a11y-improvement-add-to-cart-variable 2021-12-04 22:57:55 -06:00
roykho 68fbca56dc
Upgrade node-sass back to latest 2021-12-02 08:23:11 -08:00
roykho b9c3644a84
Downgrade node-sass version 2021-12-02 08:11:56 -08:00
roykho edf5512311
Update node-sass 2021-12-02 07:24:30 -08:00
Jamel Noel Reid e0516c475d
Merge pull request #31314 from woocommerce/fix/31305
Update setBrowserViewport to use default dimensions
2021-12-01 09:24:30 -05:00
Claudio Sanches ac799921a3
Merge pull request #31335 from woocommerce/add/cleanup
Add/cleanup
2021-11-30 20:32:57 -03:00
Jeff Stieler 35c7ad75d5 Add unit test. 2021-11-30 14:58:18 -05:00
Ron Rennick 519b4f6de4 fix lock merge conflict 2021-11-30 15:48:39 -04:00
roykho 20ef737a02
Move ignored paths to plugin specific 2021-11-30 11:32:34 -08:00
Jeff Stieler 3f7dbcd43b Add coupon meta data to backend and API orders. 2021-11-30 13:57:55 -05:00
Albert Juhé Lluveras 6e27a3204e Update WooCommerce Blocks to 6.3.3 2021-11-29 17:51:41 -08:00
Moon 7286dca881 Bump woocommerce-admin version to 2.9.0 2021-11-29 15:56:18 -08:00
jonathansadowski 24b327bb59
Merge pull request #31301 from woocommerce/update/distignore
Exclude changelog directory from deployments
2021-11-29 13:14:42 -06:00
jamelreid 92ae77c817 Updated browser viewport dimensions 2021-11-29 13:54:44 -05:00
roykho 2ab1393bdc
Merge branch 'trunk' into add/legacy-assets-build 2021-11-29 10:26:05 -08:00
roykho 1f7f576bbe
Use correct path 2021-11-29 10:06:01 -08:00
roykho 2c0487e152
Ignore tsconfig.tsbuildinfo 2021-11-29 09:59:53 -08:00
roykho 3d7ec4cd59
Remove redundant grunt items 2021-11-29 09:45:05 -08:00
Néstor Soriano 53dc551f44
Merge pull request #31308 from woocommerce/up/action-scheduler
Update AS to 3.4
2021-11-29 10:16:19 +01:00
Jamel Noel Reid f46ceee910
Merge pull request #31291 from woocommerce/add/woocommerce-menu-page-load-tests
Added WP Admin page load tests
2021-11-26 14:23:11 -05:00
Barry Hughes d12717211a
Merge pull request #31307 from woocommerce/fix/table-name
Update db table name to use the new convention.
2021-11-26 10:15:06 -08:00
Claudio Sanches bc910e2364
Merge pull request #31206 from woocommerce/fix/changelogger-validate
Jetpack Changelogger: Validate entries
2021-11-26 13:21:01 -03:00
Peter Fabian 757bfe1d16 Update AS to 3.4 2021-11-26 11:53:46 +01:00
Peter Fabian 433bd34b18 Update db table name to use the new convention. 2021-11-26 11:35:29 +01:00
Claudio Sanches cf8e4225a6 Exclude changelog directory from deployments 2021-11-25 11:14:52 -03:00
Vedanshu Jain 5d0296c565
Merge pull request #31286 from woocommerce/php8.1/add-ReturnTypeWillChange-attributes
[PHP 8.1] Add ReturnTypeWillChange attribute to classes implementing ArrayAccess
2021-11-25 17:22:31 +05:30
jamelreid 730cd35d96 Added page load tests to the plugin e2e directory 2021-11-24 19:21:01 -05:00
Nestor Soriano f7137a44e6
Fix README in the tests directory
The instructions to run the unit tests in PHP 8 were missing
a couple of required commands.
2021-11-24 16:53:34 +01:00
Nestor Soriano 963eef02fa
Add ReturnTypeWillChange attribute to classes implementing ArrayAccess
PHP 7.x and 8.1 will throw a fatal error, thus causing the unit tests
suite to abruptly end, if a method from an implemented interface doesn't
fully match the signature as defined in the interface. In WooCommerce
that's the case for the classes that implement ArrayAccess: in
PHP 8.0+ these signatures have type hints and return types (as in
"offsetUnset( mixed $offset ):void" ) but the code in WooCommerce
doesn't. We can't just add the missing types to the signatures because
then the same error appears in PHP 7.x, in which there aren't
types in the method signatures of ArrayAccess.

The fix consists of adding the ReturnTypeWillChange attribute,
introduced in PHP 8.1, which instructs the runtime to not throw the
error. PHP 7.x doesn't support attributes, but in this case the
attribute declaration is seen as a comment.

See https://php.watch/versions/8.1/ReturnTypeWillChange
2021-11-24 16:22:49 +01:00
Mahmoud Saeed 05fbbc591e Fix taxes endpoint returning incorrect X-WP-Total and X-WP-TotalPages headers #30890 2021-11-24 11:16:55 +02:00
Brian 727ccd0dd3
Albania: add states and change label (#31190)
* add albanian states

* change label for albania

* change to english language

* fix names

* sorting
2021-11-23 16:53:25 -05:00
Brian 2623be878e
Nicaragua: Add States / Update Label (#31179)
* add label for nicaragua state

* add nicaragua states

* change to english string

* fix names
2021-11-23 14:36:05 -05:00
Brian e1b9235855
Ecuador: add states / update label (#31186)
* add ecuador states

* add label for ecuador

* change to english string

* add hyphenate

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2021-11-23 12:47:22 -05:00
Brian 80d95b72e5
Colombia: add states / change label (#31188)
* add colombia states

* update label for state (colombia)

* change to english string

* fixes CLDR names, sorting

* sorting

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2021-11-23 12:47:05 -05:00
Brian 28e902442b
Honduras: Add States / Update Label (#31180)
* add honduras states

* add label for state (honduras)

* change to english string

* fix name due to cldr

* fix name

* fix sorting
2021-11-23 12:46:46 -05:00
Brian d96c380332
Panama: Update States & Label (#31178)
* add panama states

https://en.wikipedia.org/wiki/ISO_3166-2:PA

* add label for state

* change to english string

* fix name to english
2021-11-23 12:40:41 -05:00
Brian cf9510577b
Republica Dominicana: change label for state (#31191)
* change label for state DO

* change to english string

* added cdlr states, sorting
2021-11-23 12:10:24 -05:00
Brian dd64b5c8ff
Bolivia: fix iso code / update label (#31181)
* fix iso format of bolivian states

* add label for states bolivia

* change to english string

* update sorting of states
2021-11-23 11:41:33 -05:00
Barry Hughes 5773089e8c
Merge pull request #31227 from woocommerce/fix/count_param
Update count param consistently.
2021-11-22 11:34:47 -08:00
Peter Fabian ab1a35719c
Merge pull request #31257 from woocommerce/fix/31035
Send set password link instead of the actual password to new users.
2021-11-22 18:43:41 +01:00
vedanshujain 2013a66313 Add test for parse_file_path method in WC_Download_Handler class. 2021-11-22 19:39:00 +05:30
vedanshujain a6626eeb64 Send $count param as argument so that its updated consistently.
As far as I can see, this count param is not really needed, but it will still be good to keep it updated in case its getting used in an edge case that I have not considered.
2021-11-22 19:39:00 +05:30