Commit Graph

19570 Commits

Author SHA1 Message Date
Peter Fabian 4a506ebcf7
Merge pull request #25530 from woocommerce/fix/country-region-label
Fix/country region label
2020-02-04 13:54:22 +01:00
Peter Fabian e971d14265 Updated the privacy-related strings as well. 2020-02-04 13:25:47 +01:00
Peter Fabian 57917c8fa2
Merge pull request #25404 from woocommerce/update/action-scheduler-external
move action scheduler to external via composer
2020-02-04 11:39:48 +01:00
vedanshujain ee274be95a Modified "Country" to "country / Region" for more inclusiveness 2020-02-04 13:46:13 +05:30
Peter Fabian 152a5cd52c
Merge pull request #25527 from woocommerce/fix/25526
Use enable onboarding path instead of manually setting onboarding option
2020-02-03 17:18:02 +01:00
Ron Rennick e242d84877 fix merge conflicts 2020-01-31 10:11:01 -04:00
Peter Fabian 331b953c0c Harmonize aria-label with other labels. 2020-01-31 08:59:52 +01:00
Peter Fabian e87cea8688
Merge pull request #25501 from woocommerce/fix/25487
[4.0] Increase Onboarding A/B Test to 50%
2020-01-31 08:54:14 +01:00
Joshua Flowers 236bae9b6a Check for wc_admin_url function in onboarding redirect 2020-01-31 10:56:44 +08:00
Joshua Flowers 28af08a1cb Move exit 2020-01-31 10:52:49 +08:00
Claudio Sanches 0bec8443f4
Merge pull request #25137 from woocommerce/fix/24936
Only update the customer IP address when order gets created from admin
2020-01-30 19:41:08 -03:00
Claudio Sanches 0883b5b977
Merge pull request #24907 from princeahmed/master
remove unnecessary codes
2020-01-30 15:32:30 -03:00
Claudio Sanches 9974083903
Merge pull request #25474 from woocommerce/remove-hash-equals
Remove hash_equals() polyfill as it is no longer needed
2020-01-30 14:54:36 -03:00
Peter Fabian 7c07b192af Changed country to country/region label. 2020-01-30 12:42:41 +01:00
林博仁(Buo-ren Lin) 4887159146 Use "Country / Region" for country selection drop-down label to (try to) avoid political complaints (#24425)
Due to the One China Policy, vendors will be blamed on if a certain region is labeled as either "Country" or "Province of Country", avoid this problem in advance by generalizing the label of selecting them.

Refer-to: #24237 add Hong Kong, Taiwan as Chinese states; fix name of Macao by nobodxbodon · Pull Request #24425 · woocommerce/woocommerce <https://github.com/woocommerce/woocommerce/pull/24425>
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2020-01-30 12:26:35 +01:00
Peter Fabian 00f8e787be Bumped version string. 2020-01-30 10:16:19 +01:00
Joshua Flowers 74917a1548 Use enable onboarding path instead of manually setting onboarding option 2020-01-30 12:52:05 +08:00
Claudio Sanches 2cb564d0ab Updated since tag to 3.10.0 2020-01-29 18:35:07 -03:00
Christopher Allford ceeba16014
Merge pull request #24919 from TimBHowe/fix/20921
Fix/20921 - Throw error for invalid character in flat rate cost.
2020-01-29 13:32:49 -08:00
Claudio Sanches 2ec4492074 Simplify MaxMind integration title 2020-01-29 13:43:27 -03:00
Rodrigo Primo 3d97718094
Merge pull request #25485 from woocommerce/update/25336
Allow filter file path on WC_Download_Handler::download_product()
2020-01-28 20:41:21 -03:00
Claudio Sanches cacf5c4f91
Merge pull request #25472 from woocommerce/fix/25463
Apply rounding only if value is integer to display "-" when needed.
2020-01-28 18:09:22 -03:00
Rodrigo Primo 151984a9cd
Merge pull request #25489 from woocommerce/fix/25338
Check if wp_delete_user() exists before use
2020-01-28 17:34:30 -03:00
Rodrigo Primo 6d96acbcce
Merge pull request #25496 from gerdneuman/patch-1
Fix wrong context help for translators
2020-01-28 17:29:28 -03:00
TimBHowe f488f46b37 remove the pattern constraint on the flatrate input in the setup wiz 2020-01-28 11:01:13 -05:00
TimBHowe e7a575222a Updated if statment to allow 0 values 2020-01-28 10:44:37 -05:00
TimBHowe d377f002aa Added pattern attribute to the flat rate cost input field to only allow US and EU currency formating 2020-01-28 10:44:37 -05:00
TimBHowe 8b71dc0abb Updated the wc_setup_shipping_save() function to sanitize the flatrate cost input 2020-01-28 10:44:36 -05:00
Tim Howe 3b5e44ccf1 Added a call to the evaluate_cost function in the sanitize_cost function to throw an exception if there is an illegal character in the input. 2020-01-28 10:44:35 -05:00
Peter Fabian 30dde8f53c The JS might still be needed as merchants can manage/change settings even for a disabled gateway. 2020-01-28 14:13:03 +01:00
Peter Fabian 217c9d2adc Fix incorrect comment. 2020-01-28 14:10:10 +01:00
Peter Fabian 8600987591 Functions are not needed when the gateway is disabled. 2020-01-28 14:07:50 +01:00
Peter Fabian dc9d4496e9 Require order object to prevent error. 2020-01-28 14:06:02 +01:00
Timmy Crawford 081afa256c Change a/b test size of new onboarding to 50 percent. 2020-01-27 09:01:27 -08:00
gerdneuman 8057946904
Fix wrong context help for translators
I found this very confusing at https://translate.wordpress.org/projects/wp-plugins/woocommerce/stable/de/default/?filters%5Bterm%5D=ending+in&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc that the comment is wrong for translator.

Here's a fix.
2020-01-26 17:55:17 +01:00
Claudio Sanches e109258583 Check if wp_delete_user() exists before use 2020-01-24 18:49:21 -03:00
Claudio Sanches 42864cdfdb Fixed coding standards 2020-01-24 15:01:12 -03:00
Claudio Sanches 86d59257f4 Introduced woocommerce_download_product_filepath filter 2020-01-24 15:00:55 -03:00
Claudio Sanches 30e0c6ad87 Prevent empty notices to get added 2020-01-24 13:31:05 -03:00
Claudio Sanches 9d8dd197b5 Added @version flag in updated notice functions 2020-01-23 16:46:01 -03:00
Rodrigo Primo 8de3e9e839 Merge branch 'master' of github.com:woocommerce/woocommerce 2020-01-23 15:25:48 -03:00
Rodrigo Primo 2cd4ae6fd4 Fix typo 2020-01-23 15:25:12 -03:00
Rodrigo Primo b7aee86b2c Remove hash_equals() polyfill that is no longer needed
This polyfill was added back in 2015
(1f62a53e0e). WP includes the same polyfill
since version 3.9.2 and WC requires WP >= 5.0
(7d672c38a4). So we don't need to maintain our own version of this function anymore.
2020-01-23 14:36:37 -03:00
Rodrigo Primo 1078b4fe87
Merge pull request #25320 from grey-rsi/top-rated-widget-args
Add `woocommerce_top_rated_widget_args` filter for WC_Widget_Top_Rate…
2020-01-23 12:31:38 -03:00
Peter Fabian 1f9cd9eae9
Merge pull request #24066 from malviyaritesh/fix/24062
Filter meta value even if key not found
2020-01-23 14:59:39 +01:00
vedanshujain d768fcb139 Apply rounding only if value is integer to display "-" when needed. 2020-01-23 17:36:49 +05:30
Claudio Sanches 8ee6337aea Move validation to the top 2020-01-22 12:39:19 -03:00
Claudio Sanches d9cc0910ef Trim whitespaces and strip slashes from MaxMind License Key 2020-01-22 12:38:10 -03:00
Sergey Ratushnuy bd647cd9cf Small fix 2020-01-21 18:03:01 +02:00
Sergey Ratushnuy 2d1ce22e25 Changed filter name 2020-01-21 17:29:58 +02:00