Commit Graph

33015 Commits

Author SHA1 Message Date
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
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
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
Renovate Bot 2e02d68a4a
Update dependency autoprefixer to v9.7.2 2019-11-18 23:31:31 +00: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
khokan-cn 55e2a0e199 Fixed issue #25056 2019-11-18 18:03:59 +05:30
Gerhard Potgieter 822d1ebb40
Merge pull request #24879 from woocommerce/add_order_note_before_do_action
Add order note before do_action() to maintain order of notes
2019-11-18 14:02:03 +02:00
Gerhard Potgieter aaee28fe1e
Merge pull request #24798 from woocommerce/fix/24792
Do not set tracking cookie on ajax requests
2019-11-18 14:00:21 +02:00
Gerhard Potgieter 7551e812b1
Merge pull request #25055 from maximejobin/master
Use the $username variable
2019-11-18 13:59:14 +02:00
Gerhard Potgieter be3682b3d6
Merge pull request #25058 from woocommerce/renovate/husky-3.x
Update dependency husky to v3.1.0
2019-11-18 13:42:53 +02:00
Gerhard Potgieter d7dbc77357
Merge pull request #25053 from woocommerce/renovate/stylelint-12.x
Update dependency stylelint to v12
2019-11-18 13:41:48 +02:00
Gerhard Potgieter dc6402bd4c
Merge pull request #25033 from woocommerce/renovate/lint-staged-9.x
Update dependency lint-staged to v9.4.3
2019-11-18 13:40:36 +02:00
Gerhard Potgieter 3d5f8563f5
Merge pull request #25015 from woocommerce/renovate/woocommerce-woocommerce-sniffs-0.x
Update dependency woocommerce/woocommerce-sniffs to v0.0.9
2019-11-18 13:39:06 +02:00
Renovate Bot caa00ac6f5
Update dependency woocommerce/woocommerce-sniffs to v0.0.9 2019-11-18 11:38:41 +00:00
Gerhard Potgieter d463822e37
Merge pull request #24951 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.7.1
2019-11-18 13:37:25 +02:00
Gerhard Potgieter 3339b38e27
Merge pull request #24920 from woocommerce/renovate/chromedriver-78.x
Update dependency chromedriver to v78
2019-11-18 13:35:29 +02:00
Gerhard Potgieter e3f96c877f
Merge pull request #24918 from woocommerce/renovate/phpunit-phpunit-7.x
Update dependency phpunit/phpunit to v7.5.17
2019-11-18 13:34:23 +02:00
Gerhard Potgieter 06439a5470
Merge pull request #24901 from woocommerce/renovate/eslint-6.x
Update dependency eslint to v6.6.0
2019-11-18 13:32:20 +02:00
Renovate Bot a69d5dc890
Update dependency husky to v3.1.0 2019-11-18 02:39:31 +00:00
Maxime Jobin 61256ad208
Use the $username variable
This test could fail if time() does not return the same value twice.
2019-11-16 11:09:59 -05:00
Renovate Bot 3db9ee2045
Update dependency stylelint to v12 2019-11-16 12:30:51 +00:00
Vedanshu Jain 05a89e849e
Merge pull request #24227 from woocommerce/update/replace-checkout-fragment-only-on-change
Cache checkout fragments and update DOM on change only
2019-11-15 18:49:58 +05:30
Rodrigo Primo dd54b73280
Merge pull request #24870 from woocommerce/update/formatted-address-filters
Pass "$this" to Order's formatted address filters
2019-11-14 17:38:12 -03:00
Rodrigo Primo 967fc364be
Merge pull request #24846 from woocommerce/fix/tracker-php-warning
[Tracker] Prevent PHP warning when order date is empty [part 2]
2019-11-14 17:28:15 -03:00
Rodrigo Primo 0af7eb370a
Merge pull request #24840 from TarekNabil/master
Fix for #24801
2019-11-14 17:22:12 -03:00
Claudio Sanches df05e72ce8
Merge pull request #25044 from woocommerce/update/3.9-changelog
Update changelog for 3.9
2019-11-14 12:37:26 -03:00
Claudio Sanches 7c722c0d2f Update changelog for 3.9 2019-11-14 12:36:47 -03:00
Claudio Sanches 3835048486
Merge pull request #25042 from woocommerce/update-changelog
Add 3.8 changes to CHANGELOG.txt
2019-11-14 11:24:14 -03:00
Rodrigo Primo ee33ea1db1 Add 3.8 changes to CHANGELOG.txt 2019-11-14 11:19:23 -03:00
Claudio Sanches a7ba80a1f7 Fixed My Account menu highlight when adding payment methods 2019-11-14 09:51:49 -03:00
Peter Fabian de443d1a1c
Merge pull request #24971 from woocommerce/fix/update-stable-version
Update stable version and readme.txt
2019-11-14 10:03:55 +01:00
Peter Fabian 21f68c2cd5 Update changelogs and 3.8 release date in readme. 2019-11-14 10:01:10 +01:00
Renovate Bot e2035ec4d6
Update dependency lint-staged to v9.4.3 2019-11-13 20:13:59 +00:00
Claudio Sanches 0f28a61910
Merge pull request #25017 from itzmekhokan/add/25016
woocommerce_upsells_display order filter added
2019-11-13 13:38:42 -03:00
Claudio Sanches 5ef6d91e20
Merge pull request #24999 from woocommerce/fix/24995
Account for non-EU countries that collect VAT and rename tax to VAT on the frontend for them
2019-11-13 13:36:11 -03:00
Claudio Sanches 0624894462 Introduced hooks before and after settings form 2019-11-13 13:20:18 -03:00
itzmekhokan 0716648c28 woocommerce_upsells_display order filter added 2019-11-11 22:35:32 +05:30
Luminus Olumide Alabi 36821c88a8 Add 8 more countries to the list 2019-11-09 10:54:09 +00:00