Commit Graph

5441 Commits

Author SHA1 Message Date
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
Christopher Allford 1d1413b4ee Replaced direct access of many constants with the Constants library 2020-01-31 22:18:47 -08:00
Peter Fabian 132ced6039 Fixed test for 4.0. 2020-01-31 21:05:50 +01: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
Peter Fabian 248e69960b Merge branch 'master' into update/order-detail-summary 2020-01-30 17:41:32 +01:00
Denis Dvali 9e25706467 Add query params as fallback for passing authentication data to WC Helper API. 2020-01-30 15:17:50 +03:00
Peter Fabian 7c07b192af Changed country to country/region label. 2020-01-30 12:42:41 +01:00
Joshua Flowers 74917a1548 Use enable onboarding path instead of manually setting onboarding option 2020-01-30 12:52:05 +08: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
Sergey Ratushnuy c2f857a4d8 Fix duplicated custom fields after import products from .csv file 2020-01-29 13:09:27 +02:00
Christopher Allford 6ad091a9b7 Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages 2020-01-28 21:21:29 -08:00
TimBHowe f488f46b37 remove the pattern constraint on the flatrate input in the setup wiz 2020-01-28 11:01:13 -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
David Levin ee2c6b8096 Change net payment to net total 2020-01-27 21:10:11 -08:00
David Levin 3c92aacfcb update shipping methods 2020-01-27 19:22:04 -08:00
Timmy Crawford 9bfc7db3fb Remove wc-admin install nudge. 2020-01-27 09:24:46 -08:00
Timmy Crawford 081afa256c Change a/b test size of new onboarding to 50 percent. 2020-01-27 09:01:27 -08:00
vedanshujain d768fcb139 Apply rounding only if value is integer to display "-" when needed. 2020-01-23 17:36:49 +05:30
Rodrigo Primo 8489d1bd33 Merge branch 'master' into fix/25394 2020-01-16 16:35:43 -03:00
Claudio Sanches eedf82da38 Fixed coding standards 2020-01-15 20:40:55 -03:00
Claudio Sanches 5bafac3012 Improved maxmind_missing_license_key_notice logic 2020-01-14 23:32:55 -03:00
Christopher Allford 42269f965c Added clarification that the MaxMind license key is not strictly necessary 2020-01-14 14:09:51 -08:00
Rodrigo Primo 241c6cd590 Make context for admin notice documentation more clear 2020-01-14 17:07:12 -03:00
Rodrigo Primo 23e1abe1dc Fix typo in php docblock 2020-01-14 16:45:57 -03:00
Claudio Sanches 10cdbf88be Use shop base address as default customer location 2020-01-14 16:29:48 -03:00
Claudio Sanches 978c5b5fb9 Apply woocommerce_maxmind_geolocation_display_notices filter in notices class 2020-01-14 15:22:53 -03:00
Claudio Sanches 1c874264d8 Removed MaxMind from System Status page 2020-01-13 21:48:23 -03:00
Joshua Flowers 902e1cc184 Check for the WooCommerce Admin class before adding notice 2020-01-13 17:43:27 +08:00
Christopher Allford f5d07c954c Adjusted the MaxMind license key notice to be clearer 2020-01-10 13:07:26 -08:00
Claudio Sanches c3abe8ac65 Added missing license key notice and triggers 2020-01-10 15:07:05 -03:00
Claudio Sanches cfeb07eaf7 Removed legacy code 2020-01-10 13:18:25 -03:00
David Levin 40c76b83a2 update order to play nice with gateways, add paid by customer when order is paid in full 2019-12-22 20:14:31 -08:00
David Levin e4fcfc4d1a add net payment calculation, and re-order refund item to bottom of rows 2019-12-20 14:28:06 -08:00
David Levin 34ff4544ff trying to get net payment to work 2019-12-20 12:27:17 -08:00
David Levin b7c455c9d1 Add line for net payment post refund 2019-12-20 12:06:11 -08:00
Rodrigo Primo 7337ab60c2 Fix PEAR.Functions.FunctionCallSignature violations
This commit fixes all violations of the PEAR.Functions.FunctionCallSignature sniff automatically using phpcbf.
2019-12-20 15:25:23 -03:00
Rodrigo Primo 86c1b61f03 Fix Generic.WhiteSpace.ScopeIndent violations
This commit fixes all violations of the Generic.WhiteSpace.ScopeIndent sniff automatically using phpcbf.
2019-12-20 14:48:11 -03:00
Rodrigo Primo 487f96d844 Fix WordPress.DateTime.CurrentTimeTimestamp vilations
This commit fixes all violations of the WordPress.DateTime.CurrentTimeTimestamp sniff automatically using phpcbf.
2019-12-20 14:23:05 -03:00
Rodrigo Primo 62d6b05b58 Fix Generic.Formatting.MultipleStatementAlignment violations
This commit fixes all violations of the Generic.Formatting.MultipleStatementAlignment sniff automatically using phpcbf.
2019-12-20 14:21:08 -03:00
Rodrigo Primo 94373f78ea Fix WordPress.Arrays.MultipleStatementAlignment errors automatically using phpcbf 2019-12-20 13:51:26 -03:00
David Levin b5bdb3dae0 change the order of shipping and fees in order line items 2019-12-19 12:11:50 -08:00
David Levin 25603cc190 display actual item price before discount in order item cost 2019-12-19 08:14:03 -08:00
David Levin 7ecae84d99 Rename coupons to discounts in order summary 2019-12-19 08:00:21 -08:00
David Levin 8c62fc72a6 update order summary totals 2019-12-19 07:53:35 -08:00
David Levin 5df30cdbd6 rename method to get fee totals 2019-12-18 21:34:40 -08:00
David Levin c6cd7331f9 update order details summary with items subtotal and start to add fees 2019-12-18 20:51:45 -08:00
Justin Shreve a5ee52a6c6 Add WP version check before recommending WooCommerce Admin 2019-12-18 09:29:21 -05:00
Shamali Sulakhe ec09daeadc Merge remote-tracking branch 'upstream/master' into issue-24266-solution 2019-12-16 15:11:07 +05:30
Shamali Sulakhe e5e9d440a4 Merge branch 'master' of https://github.com/shamalisulakhe/woocommerce into issue-24266-solution 2019-12-16 15:08:30 +05:30
Rodrigo Primo ae1717cd4f Fix PHPCS violations automatically using PHPCBF 2019-12-13 17:51:14 -03:00
Rodrigo Primo f06ad5d78a Replace removed WordPress.Security.NonceVerification.NoNonceVerification
WordPress Coding Standard 2.0 removed the sniff
WordPress.Security.NonceVerification.NoNonceVerification:

```
The WordPress.Security.NonceVerification sniff used the same error code for both an error as well as a warning.
The old error code NoNonceVerification is no longer used.
The error now uses the Missing error code, while the warning now uses the Recommended error code.
```

(from
d45f5e5cf3/CHANGELOG.md (200-rc1---2018-12-31))

This commit updates WooCommerce code and replaces all instances where WordPress.Security.NonceVerification.NoNonceVerification verification was used with either WordPress.Security.NonceVerification.Missing or
WordPress.Security.NonceVerification.Recommended. In a few cases WordPress.Security.NonceVerification.NoNonceVerification was used but was not needed, so instead of replacing the sniff, the line was removed. In two other cases, I removed other unrelated sniffs that were not needed.
2019-12-13 17:45:32 -03:00
Rodrigo Primo 9c4de8f5e7 Fix indentation 2019-12-13 16:48:17 -03:00
Rodrigo Primo d451b68488
Merge pull request #24929 from helgatheviking/feature/woocommerce_process_variation_object
Add woocommerce_admin_process_variation_object before $variation->save()
2019-12-13 16:46:22 -03:00
Peter Fabian 72925ef41c Centralize check for default themes.
This should make Storefront appear in the Setup Wizard again.
2019-12-11 18:35:04 +01:00
Claudio Sanches 02ae29c8fc Fixed support to older versions of WordPress 2019-12-10 22:12:50 -03:00
dsmithweb 5a17c63cc9 Update links 2019-12-10 18:41:55 -06:00
Claudio Sanches 57d5c88b13
Merge pull request #24876 from akshaya-rane/fix-product-bulk-edit
refs #24638 Fixed Stock status update on Bulk Edit
2019-12-10 12:29:48 -03:00
Peter Fabian d8f49787a4 Better reflect variable purpose with updated name. 2019-12-10 14:22:30 +01:00
Peter Fabian fd66112bb7 Add WP version number class to Setup Wizard/OBW body element. 2019-12-10 13:32:13 +01:00
Claudio Sanches 104f40c36e
Merge pull request #24281 from woocommerce/fix/24269
Handle multiple decimal points
2019-12-09 14:07:29 -03:00
Claudio Sanches 5dac360e8a
Merge pull request #24208 from woocommerce/fix/order-screen-tax-calculation-to-honor-rounding-setting
Honor tax rounding preference in edit item and refund flows
2019-12-05 20:52:48 -03:00
Gerhard Potgieter 7d39222334
Merge pull request #25162 from woocommerce/fix/24018
Hid variable parent products from "Add Products" search on order page
2019-12-05 14:22:43 +02:00
Rodrigo Primo 6b61d5f025
Merge pull request #24934 from woocommerce/add/filter_invalid_variations_notice
Introduce show_invalid_variations_notice filter
2019-12-05 09:08:24 -03:00
Gerhard 216a86b558 Change filter name to woocommerce_show_invalid_variations_notice and also pass through the $product_object variable. 2019-12-05 08:08:07 +02:00
Claudio Sanches 5fdb880831
Merge branch 'master' into feature/24956 2019-12-04 16:18:39 -03:00
Claudio Sanches 8033d5751e Changed wc_get_product_classname function name to wc_get_product_object 2019-12-04 16:15:16 -03:00
Claudio Sanches 24c473f932
Merge pull request #24991 from woocommerce/add/new-onboarding-ab-test
Onboarding - Show the new experience to 10% of new users
2019-12-04 11:00:23 -03:00
Christopher Allford d3a7266848 Hid variable product types from "Add Products" search on order management page 2019-12-03 14:17:51 -08:00
Claudio Sanches 6a395e2485
Merge pull request #25064 from woocommerce/fix/24315
Optimize variable product duplication slug generation
2019-12-03 15:28:55 -03:00
Claudio Sanches 15ffaeee6b
Merge pull request #25101 from woocommerce/remove-call_user_func_array
Remove a few calls to func_get_args() and call_user_func_array()
2019-12-03 14:51:43 -03:00
Rodrigo Primo 7edd0561d3
Merge pull request #25098 from woocommerce/fix/wccom-back-url-encode
Url encode "wccom-back" param in in-app purchase product link
2019-12-02 18:00:55 -03:00
Rodrigo Primo 00896ffb11
Merge pull request #25026 from woocommerce/fix/25022
Made usage tracking link in setup more transparent
2019-12-02 17:19:10 -03:00
Claudio Sanches 2133ae9acb
Merge pull request #25132 from woocommerce/fix/24812
Added empty categories to the product exporter admin view
2019-12-02 17:01:41 -03:00
Rodrigo Primo 86f59dff09
Merge pull request #24961 from woocommerce/fix/admin-caching-incr
Changed wp_cache invalidation from using increment to using microtime.
2019-12-02 15:32:17 -03:00
Peter Fabian 309c48ab0e Deprecated old cache function and replaced it with a new one. 2019-11-28 14:03:57 +01:00
Christopher Allford 44aed47f4d Added empty categories to the product exporter admin view 2019-11-27 12:08:56 -08:00
Viszt Péter 3d6c3b3551 Fixes for alignment issues on the settings screen introduced by WP 5.3 2019-11-27 13:05:20 +01:00
Paul Dechov 7f65a33fe8 Honor tax rounding preference in edit item and refund flows
The default value ('no') of the setting to round taxes at subtotal was not being honored on the Edit Order screen, which resulted in off-by-one discrepancies between the checkout item total and the edited or refunded item total.

This change is to round to the proper precision (w.r.t. the 'woocommerce_tax_round_at_subtotal' setting) for the default value of the form, as well as when the values are dynamically recomputed.
2019-11-25 17:49:43 +05:30
Rodrigo Primo 193395ddf5 Simplify and modernize two methods
This commit replaces calls to call_user_func_array() with argument unpacking using the spread operator that was added in PHP 5.6 in the following methods:

- WC_Admin_Setup_Wizard::run_deferred_actions()
- WC_Mail::send()
2019-11-22 15:25:08 -03: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
Justin Shreve 1fabf2f145 Handle PR feedback 2019-11-21 12:23:05 -05:00
Justin Shreve ff68f30c2c Update opt-in value to 'yes' 2019-11-21 12:00:05 -05:00
Justin Shreve 18925f2218 Adds an a/b test for the new onboarding experience 2019-11-21 12:00:04 -05: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
Rodrigo Primo 81187dc359
Merge pull request #25062 from itzmekhokan/fix/25056
Fixed issue #25056
2019-11-19 11:58:25 -03: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
khokan-cn 55e2a0e199 Fixed issue #25056 2019-11-18 18:03:59 +05:30
Shamali Sulakhe 64fbb197d7 Removed patch file and merged changed with ver 3.9.0-dev 2019-11-15 17:58:54 +05:30
Claudio Sanches ba0773d12e Apply wc_get_product_classname() in the current code base 2019-11-13 15:30:09 -03:00
Claudio Sanches 0624894462 Introduced hooks before and after settings form 2019-11-13 13:20:18 -03:00
Christopher Allford 357cd28b77 Made the usage tracking information link in the setup wizard more transparent 2019-11-12 13:27:31 -08:00
Gerhard 40faecc8e7 Add show_invalid_variations_notice filter to hide the invalid variations notice. 2019-10-30 15:17:31 +02:00
Kathy Daring e55af6431c Add woocommerce_admin_process_variation_object before $variation->save() 2019-10-29 11:50:52 -06:00
Vedanshu Jain 8b04f37d22
Merge pull request #24810 from woocommerce/add/in-app-purchases-subs-cache-cleaning
Clean subscriptions' cache for auto-install flow
2019-10-25 10:27:47 +04:00
Akshaya Rane 19e3131d5e Modified comment message 2019-10-22 10:56:08 +05:30
Akshaya Rane b8cdeb2164 Fixed standards error 2019-10-22 00:21:44 +05:30
Akshaya Rane 8ed29fad7f refs #24638 Fixed Stock status update on Bulk Edit 2019-10-21 22:45:05 +05:30
Julia Amosova 14e5d6b3ea Capitalize `T` in `Move to trash` on order page 2019-10-18 14:44:47 +01:00
Rodrigo Primo bb4ded8324 Update links to bug report and feature request issue templates
The name of the bug report and feature request issue templates was
changed in #24844. This commit updates two places where links pointing
to those templates were outdated.
2019-10-17 16:28:01 -03:00
tgglv b3c5dec0e7 Merge remote-tracking branch 'origin/master' into add/in-app-purchases-subs-cache-cleaning 2019-10-17 09:52:41 +05:00
Claudio Sanches 0112ee58a3
Merge pull request #24843 from sisou/patch-2
Use full year and 24h format in order note tooltip
2019-10-16 17:05:58 -03:00
Claudio Sanches 63c2bdafd2
Merge pull request #24793 from xristos3490/fix/24791
Fix/24791
2019-10-16 15:41:51 -03:00
tgglv 2ca1aeac42 Merge remote-tracking branch 'origin/master' into add/in-app-purchases-subs-cache-cleaning 2019-10-16 20:14:54 +05:00
Sören Schwert 8d0e37e6ca
Use full year and 24h format in order note tooltip 2019-10-16 14:59:36 +02:00
vedanshujain 451139e68e Use MIN_PHP and MIN_WP constants in PHP_MIN_REQUIREMENT value so that we don't have to change it everytime. 2019-10-15 16:07:03 +05:30
vedanshujain ec490409ea Refactor to use constant so that we have easy way to reset admin notice version 2019-10-15 16:07:02 +05:30
xristos3490 9eafb785e9 Cleanup 2019-10-15 12:37:21 +03:00
xristos3490 16dac4864b Add use of wp_unslash 2019-10-15 12:36:14 +03:00
tgglv c277696b65 Make WCCOM helper subs cache cleaning public
Relates: https://github.com/Automattic/woocommerce.com/issues/6535
2019-10-11 17:59:39 +05:00
xristos3490 4e2205e17d Fix file perms 2019-10-09 11:26:32 +03:00
xristos3490 d776c19dd4 Replace stripslashes with stripslashes_deep on non-scalar setting values 2019-10-09 11:25:41 +03:00
Gerhard Potgieter 2d796f825e
Merge pull request #24760 from jorostoyanov/jorostoyanov-patch-1
Add woocommerce_after_order_refund_item_name hook
2019-10-08 11:21:51 +02:00
Joro Stoyanov 5c55eea31c
Add woocommerce_after_order_refund_item_name hook 2019-10-03 08:53:10 +03:00
Claudio Sanches 78452a3f0f Fixed post type count only when avaliable in REST API 2019-10-02 15:03:46 -03:00
Claudio Sanches 71d7ac5741 Removed duplicated include of WC_Admin_Importers 2019-10-02 11:35:27 -03:00
Vedanshu Jain f15353cce5
Merge pull request #24745 from woocommerce/fix/24489
Also consider refunded item quantity while increasing stock.
2019-10-02 18:39:03 +05:30
vedanshujain 3c7e74f72d Return early when diff is 0.
Earlier we were also update  `_reduced_stock` meta everytime, but we don't need to when diff is 0 because this means that everything is already consistent.
2019-10-02 17:24:16 +05:30
Nico Mollet 8365365037
Removed space at the end of the line 2019-10-02 13:42:26 +02:00
Nico Mollet 5bcc35c24e
Coupon expiry date tooltip to help understand behaviour
Help understand if the date is included or excluded
2019-10-02 11:48:15 +02:00
Vedanshu Jain 7bb1a0babd
Merge pull request #24536 from nikhil-webkul/patch-3
Add back post type count to system status report
2019-10-02 14:47:48 +05:30
vedanshujain d2d0bf8466 Also consider refunded item quantity while increasing stock.
When updating an order, we call `wc_maybe_adjust_line_item_product_stock` to see if any item stock needs adjusting. We were not considering if an item has been refunded, which was causing incorrect stock adjustments.
This fix also takes in to account that an order has been refunded partially or fully.

Fixes #24489
2019-10-02 13:42:19 +05:30
Gerhard 6d09d0efcf Fix OWB sell in person vertical alignment 2019-09-30 19:31:50 +05:30
Vedanshu Jain 436ee5de3a
Merge pull request #24680 from woocommerce/update/tracking-opt-in
Update usage tracking UI, default to opted-out.
2019-09-30 09:14:56 +05:30
Rodrigo Primo 364661df4e
Merge pull request #24614 from yash-webkul/patch-3
Fixed escaping in class-wc-admin-dashboard.php
2019-09-26 13:41:34 -03:00
Justin Shreve 9dfdfbf532 Check the box if the user goes back to setup and previously checked it 2019-09-26 11:31:46 -04:00
Yash Kapoor 3ed83341fc
Fixed escaping in class-wc-admin-dashboard.php
Added that space which was removed in previous commit by mistake.
2019-09-26 10:12:34 +05:30
Rodrigo Primo 6f1b814b33
Merge pull request #24613 from yash-webkul/patch-1
Fixed escaping.
2019-09-25 20:29:00 -03:00
aaronlad 6bca35ddbe fix #24671 2019-09-25 18:28:32 +01:00
Justin Shreve 0c3fc315c5 Update tracking opt-in UI. 2019-09-24 14:26:21 -04:00
Rodrigo Primo 1b699621be
Merge pull request #24639 from itowhid06/master
use `esc_html__` instead of  `esc_html`
2019-09-23 12:32:23 -03:00
Rodrigo Primo 7cb614b41d
Merge pull request #24630 from nikhil-webkul/patch-5
Update class-wc-meta-box-product-images.php
2019-09-23 12:30:43 -03:00
Rodrigo Primo 5681cfe70c
Merge pull request #24618 from yash-webkul/patch-14
Added escaping.
2019-09-23 12:24:23 -03:00
Rodrigo Primo 01b86568aa
Merge pull request #24616 from yash-webkul/patch-13
Fixed escaping function.
2019-09-23 12:22:27 -03:00
Rodrigo Primo 36f691e7de
Merge pull request #24615 from yash-webkul/patch-4
Added escaping.
2019-09-23 12:20:41 -03:00
Towhidul Islam 780584230a use `esc_html__` instead of `esc_html` 2019-09-15 21:27:49 +06:00
Nikhil Chaudhary 951c57ada1
Update class-wc-meta-box-product-images.php
Added escaping function where required.
2019-09-14 09:13:48 +05:30
Yash Kapoor df8c0855a4
Added escaping. 2019-09-11 15:37:39 +05:30
Yash Kapoor 5c1a64026a
Fixed escaping function. 2019-09-11 15:12:34 +05:30
Yash Kapoor e8c6fd272b
Added escaping. 2019-09-11 15:06:00 +05:30
Yash Kapoor 6ed6a753db
Fixed escaping in class-wc-admin-dashboard.php 2019-09-11 15:02:10 +05:30
Yash Kapoor 07ce4b9e1c
Fixed escaping. 2019-09-11 14:53:52 +05:30
itzmekhokan 5a54c87c55 Fixed issue #24588 2019-09-07 12:23:33 +05:30
Rodrigo Primo fe2ec80b18
Merge pull request #24546 from woocommerce/fix/24534
Fixed markup in Storefront banner
2019-09-06 12:11:03 -03:00
Claudio Sanches d13d6543f7
Merge pull request #24451 from woocommerce/add/in-app-connect
Add support to allow connect and install for in-app purchase flow.
2019-09-03 21:33:39 -03:00
Claudio Sanches 0ea56e0bab Fixed coding standards 2019-08-30 14:33:59 -03:00
Claudio Sanches 49af62ba8b Allow some HTML markup on addons banner 2019-08-30 14:29:08 -03:00
Nikhil Chaudhary 47e3f9bd3b
Update html-admin-page-status-report.php
Added the missing post type count section.
2019-08-30 11:46:04 +05:30
Nikhil Chaudhary f2f0db602b
Update class-wc-admin-duplicate-product.php
Add escaping where required.
2019-08-29 12:39:09 +05:30
Claudio Sanches e545833c0a
Merge pull request #24524 from yash-webkul/patch-22
Update html-variation-admin.php
2019-08-28 12:51:58 -03:00
Claudio Sanches 866a48db00
Merge pull request #24523 from yash-webkul/patch-21
Update class-wc-admin-addons.php
2019-08-28 12:45:24 -03:00
Claudio Sanches ec1ba8db9c
Merge pull request #24522 from yash-webkul/patch-20
Update html-admin-page-addons.php
2019-08-28 12:45:06 -03:00
Claudio Sanches 0453cca9fd
Merge pull request #24521 from yash-webkul/patch-18
Update class-wc-admin-setup-wizard.php
2019-08-28 12:44:29 -03:00
Yash Kapoor be141f3231
Update html-variation-admin.php
Fixed escaping function for attribute value.
2019-08-28 19:43:02 +05:30
Yash Kapoor 84d2fb7df5
Update class-wc-admin-addons.php
Fixed escaping function for attribute value.
2019-08-28 19:31:58 +05:30
Yash Kapoor 18208163d6
Update html-admin-page-addons.php
Fixed escaping function for attribute value.
2019-08-28 19:26:36 +05:30
Yash Kapoor 83b5450ceb
Update html-admin-page-shipping-zone-methods.php
Fixed escaping function for attribute values.
2019-08-28 19:23:01 +05:30
Yash Kapoor 6443515064
Update class-wc-admin-setup-wizard.php
Fixed escaping function for attribute values.
2019-08-28 19:16:24 +05:30
Claudio Sanches cdd03f5f48
Merge pull request #24478 from marccoup/master
Fixed incorrect page setting id
2019-08-27 17:52:18 -03:00
Yash Kapoor 9517cd7877
Update html-product-csv-import-form.php
Fixed line indentation issue on line no 52.
2019-08-23 18:22:28 +05:30
Yash Kapoor ef2d38097d
Update html-product-csv-import-form.php
Fixed escaping issue.
2019-08-23 18:04:52 +05:30
Yash Kapoor 9eed3757ae
Update html-product-csv-import-form.php
Fixed escaping issue.
2019-08-23 18:03:59 +05:30
Yash Kapoor c3c91298b5
Update html-product-csv-import-form.php
Fixed data-showtext value.
2019-08-23 17:18:01 +05:30
Marc Coupland bc42517c1a Fixed incorrect page setting id 2019-08-23 11:16:29 +01:00
Rodrigo Primo 6ddbd2f9e1
Merge pull request #24469 from mohit-webkul/patch-2
Update html-admin-page-addons.php
2019-08-22 09:55:37 -03:00
Rodrigo Primo 180f260f7f
Merge pull request #24468 from yash-webkul/patch-14
Update html-oauth-start.php
2019-08-22 09:52:35 -03:00
Rodrigo Primo 91501175d5
Merge pull request #24466 from mohit-webkul/patch-1
Update class-wc-admin-menus.php
2019-08-22 09:50:51 -03:00
Yash Kapoor c3791673ef
Update class-wc-admin-setup-wizard.php 2019-08-22 17:14:34 +05:30
Mohit Verma 71db4b4068
Update html-admin-page-addons.php
Added alt tag translation.
2019-08-22 17:01:08 +05:30
Yash Kapoor 478f8eae17
Update html-oauth-start.php
Added translation.
2019-08-22 16:47:01 +05:30
Yash Kapoor 365a701d34
Update class-wc-admin-setup-wizard.php
Added translation.
2019-08-22 16:40:57 +05:30
Mohit Verma c97ca103c1
Update class-wc-admin-menus.php
Fixed escaping in attribute.
2019-08-22 16:21:23 +05:30
Akeda Bagus 62b42893b2
Rename URL param from wccom-helper-nonce to wccom-connect-nonce. 2019-08-17 22:37:02 +07:00
Akeda Bagus aae802f319
Add support to allow in-app purchase installation after connected. 2019-08-17 00:36:28 +07:00
Rodrigo Primo 7cea80a86a
Merge pull request #24291 from woocommerce/prod-shipping-class-alphabetical
Sort shipping classes under products alphabetically
2019-08-08 16:41:30 -03:00
Gerhard 5ea1b72b6a PHPCS fixes 2019-08-05 13:51:46 +02:00
Daniel Bitzer b59e633b15 Fix output escaping for menu titles
Menu title contains HTML
2019-08-05 13:51:45 +02:00
Claudio Sanches 375b989322 Added validation for multiple decimal points 2019-08-02 13:58:02 -03:00
Jesse Pearson 009b0f030d Sort shipping classes under products alphabetically 2019-08-01 13:07:05 -04:00
Claudio Sanches 1e6785f758 Introduced filter to prevent adjust product stock 2019-07-31 17:37:33 -03:00
haszari 8c5eb16c78 shorten in-app-purchase url param keys 2019-07-16 08:30:19 +12:00
Gerhard Potgieter 3958e347cd
Merge pull request #24123 from woocommerce/add/wccom-site-rest-api
Add WCCOM Site REST API
2019-07-15 19:34:14 +02:00
Akeda Bagus f51265e58d
Add @since tag. 2019-07-15 15:42:36 +07:00
Gerhard Potgieter aa706fd68f
Merge pull request #24075 from woocommerce/add/in-app-purchase-params
Add in-app-purchase params to extensions screen & suggestions
2019-07-15 09:18:51 +02:00
haszari dab7cb328a use add_query_arg to determine current page url 2019-07-15 18:07:57 +12:00
haszari f97fa34c01 rename button style param/variable for clarity 2019-07-15 08:50:08 +12:00
Gerhard Potgieter f9697eb03e
Merge pull request #24034 from woocommerce/fix/23508
Fix: check if DB_NAME is defined before using it
2019-07-14 19:54:04 +02:00
Gerhard Potgieter eee56a254f
Merge pull request #23479 from parmarhardip/23381
enhance #23381 Prevent the Cart, checkout and my account page from be…
2019-07-14 19:49:37 +02:00
haszari 8c6a09e7e4 pass current wp-admin path to WCCOM as url param (for "back" link) 2019-07-12 14:50:14 +12:00
haszari 46f2b98bca add in-app-purchase url params to marketplace suggestions buttons 2019-07-12 13:42:35 +12:00
haszari 9652d8f42c add in-app-purchase url params to addons screen cards (in category tabs) 2019-07-12 13:42:35 +12:00
haszari 80f59f3819 fix linter errors (2 phpcbf, 31 manual) 2019-07-12 13:42:34 +12:00
haszari b597ff067a add in-app-purchase url params to addons screen button 2019-07-12 13:42:33 +12:00
haszari 6f29905ece fix phpcs errors (4 phpcbf, 40 manual) 2019-07-12 13:42:33 +12:00
Akeda Bagus d51e843190
Move WCCOM Site related files to `/wccom-site` directory.
Also use queue when installing products so API can respond immediately.
2019-07-11 16:01:53 +07:00
Akeda Bagus c59e1c3553
Fix minor wording issue in error message. 2019-07-11 15:58:06 +07:00
Akeda Bagus 9d047fd912
Make sure to flush cache before checking wccom updates. 2019-07-11 15:58:06 +07:00
Akeda Bagus 18b503dbd6
Add support for theme installation. 2019-07-11 15:58:06 +07:00
tgglv c0d9fc7fc3
Make WP.org plugin support installation method names more precise 2019-07-11 15:58:06 +07:00
tgglv 6eeefd1341
Add WP.org plugin support into Product Activation 2019-07-11 15:58:05 +07:00
tgglv 1fae1d7ba2
Remove redundant line 2019-07-11 15:58:05 +07:00
tgglv 527fbca149
Store product's `installed_path` 2019-07-11 15:58:05 +07:00
tgglv 1dff186076
Add @return types into annotations 2019-07-11 15:58:05 +07:00
tgglv be63fba4cd
Fix typo 2019-07-11 15:58:05 +07:00
tgglv 5bde7b5161
Fix PHP CodeSniffer issues 2019-07-11 15:58:05 +07:00
Akeda Bagus 52a68177a0
Add product info retrieval step before downloading product. 2019-07-11 15:58:04 +07:00
Akeda Bagus 6854f3bdca
Update the state when installation finished. 2019-07-11 15:58:04 +07:00
Akeda Bagus 7ac8232d2c
Make sure to init the upgrader and clean plugins cache before activate. 2019-07-11 15:58:04 +07:00
Akeda Bagus b57f05fde9
Add missing description in docblock. 2019-07-11 15:58:04 +07:00
Akeda Bagus 69a4aa926a
Fix typo in error message. 2019-07-11 15:58:04 +07:00
Akeda Bagus 7adc256344
Move subscription check as part of installation steps. 2019-07-11 15:58:03 +07:00
Akeda Bagus 72ba4ed2e5
Include helper product install class in main helper class. 2019-07-11 15:55:16 +07:00
Akeda Bagus 61b0d974f4
Add reset state. 2019-07-11 15:55:16 +07:00
Akeda Bagus d088aea85d
Initial work of adding product install API on top of helper. 2019-07-11 15:55:11 +07:00
Rodrigo Primo e5857e91f9 Merge branch 'master' into fix/23508 2019-07-10 16:11:07 -03:00
Claudio Sanches c63cd802aa
Merge pull request #23957 from woocommerce/feature/feature-plugin-packages
Include external feature plugins as packages
2019-07-10 15:47:48 -03:00
Claudio Sanches 5b8694e92a
Merge pull request #23915 from woocommerce/fix/23544
[Setup] Make PostCode optional as few countries don't use them
2019-07-10 15:45:32 -03:00
Mike Jolley c928188831 Update from master 2019-07-10 12:57:02 +01:00
aslamshekh 3df0769366 I have done with few changes which is suggested. 2019-07-10 14:52:59 +05:30
aslamshekh 15eaaebdeb Fix-24115, Downloads report not getting 503 any more, If previously downloaded files are removed from product 2019-07-10 12:58:07 +05:30
Gerhard Potgieter 600da8cee2
Merge pull request #24112 from woocommerce/fix/tax-class-initialization
Fix Tax Class table initialization
2019-07-10 08:38:31 +02:00
Claudio Sanches d18c3f8ed1
Merge pull request #24069 from woocommerce/add/coupon-code-generator
Add generate coupon code button
2019-07-09 16:50:24 -03:00
Claudio Sanches 18b876a95c Always load generate code button
Some improvements in the button label and names
2019-07-09 16:46:17 -03:00
Rodrigo Primo 53df16b2b5
Merge pull request #23781 from woocommerce/try/obw-changes
OBW: Switch shipping labels and shipping zones placement
2019-07-09 16:06:38 -03:00
Claudio Sanches 0e5c0eeccd
Merge pull request #23091 from woocommerce/fix/23087
Move settings save functionality to wp_loaded hook
2019-07-09 15:47:41 -03:00
Claudio Sanches 56240c9633 Prevent saving empty tax classes into the database 2019-07-09 15:23:46 -03:00
vedanshujain dd783615cc Use helper method instead of `wp_list_pluck` to avoid notices
In country locales, many times configuration for postcodes may not be defined. In these cases, using `wp_list_pluck` will throw notices.

We now use a small helper method to extract post code configuration from country locales.
2019-07-09 18:13:27 +05:30
vedanshujain e2577b3a06 [Setup] Make PostCode optional as few countries don't use them
Some countries like Hong Kong, UAE etc don't use post codes, in which case this commit will make the field optional.
If its not known whether a country uses postcode or not, it will be required.
2019-07-09 14:37:03 +05:30
Claudio Sanches 55692cba87
Merge pull request #23255 from woocommerce/shopify-column-mapping
Mapping for default Shopify fields
2019-07-08 18:53:57 -03:00
Claudio Sanches c1223e3890 Fixed meta: label 2019-07-08 18:52:03 -03:00
Claudio Sanches db06d3dbae Merge branch 'master' into update/22164-tax-rate-class-table 2019-07-08 18:12:23 -03:00
Claudio Sanches b54997d9f5 Merge branch 'fix/23221' of https://github.com/senff/woocommerce into senff-fix/23221 2019-07-08 17:55:07 -03:00
Claudio Sanches adc543f8f1
Merge pull request #24058 from woocommerce/add/wc-admin-obw-recommended
OBW: Add wc-admin to recommended page
2019-07-08 16:56:49 -03:00
Claudio Sanches da99bc8ca0 Merge branch 'master' into feature/feature-plugin-packages 2019-07-08 14:33:21 -03:00
Paul Sealock 8777dc4c01 Revert title to WooCommerce Admin 2019-07-05 16:11:35 +12:00
Paul Sealock 1116e5516d update 'free' usage and wc-admin description 2019-07-05 16:10:10 +12:00
Rodrigo Primo b648647893
Merge pull request #23741 from woocommerce/feature/23728
Allows customize buyer name in orders list screen
2019-07-04 16:23:43 -03:00
Rodrigo Primo 4712f75f67 Merge branch 'master' into fix/23508 2019-07-04 16:13:01 -03:00
Rodrigo Primo 4de12633d6
Merge pull request #24073 from woocommerce/fix/status-helper-disconnected-typo
Fix missing space and closing <strong> tag in WooCommerce.com disconnect message
2019-07-04 16:05:59 -03:00
Rodrigo Primo a26f38f3a1
Merge pull request #23133 from woocommerce/update/23111
If variations are missing prices, show notice
2019-07-04 10:08:41 -03:00
Gerhard Potgieter 12fbfa5677
Merge pull request #22927 from woocommerce/update/22895
Allow "Thanks" wording in emails to be reworded by admin
2019-07-04 12:43:00 +02:00
Daniel Bitzer 20625e9a45 Fix missing space and closing <strong> tag
Strong tag was not being echoed and space was missing after full stop.
2019-07-04 16:57:50 +09:30
Gerhard Potgieter c3a25bb6bf
Merge pull request #23884 from woocommerce/fix/23875
Prevents taxes columns from being removed when the order is no longer editable
2019-07-04 09:25:49 +02:00
Gerhard Potgieter 007fc457a3
Merge pull request #24020 from woocommerce/fix/plural-forms-usage
Correct singular form usage in class-wc-admin-report.php
2019-07-04 09:23:14 +02:00