Rebecca Scott
7adabc9a6a
Remove unnecessary use statement
2020-03-17 11:51:50 +10:00
Rebecca Scott
4bdcd3eccd
Start tracking product_update
2020-03-17 11:27:57 +10:00
Timmy Crawford
356e5a562f
Protect _ui and _ut props, move JS filter below product count
2020-03-16 17:00:25 -07:00
Rua Haszard
0b79a65829
fix various issues with post_contains_text:
...
- correct table name / prefix
- ensure search string has wildcards before & after
- return value is '0' or '1', fix return logic (was returning 'Yes' no
matter what)
2020-03-17 09:21:31 +13:00
vedanshujain
cfed958bac
Fix typo
2020-03-16 16:55:09 +05:30
vedanshujain
3ef491631f
Better messaging to inform that remote files will not be affected
2020-03-16 16:52:35 +05:30
Rua Haszard
8e6f5da2e1
add cart info to tracker:
...
- adds a new key 'cart_checkout'
- adds boolean props indicating if store cart & checkout use blocks or shortcodes
2020-03-16 17:21:58 +13:00
Timmy Crawford
2c8195ca8a
remove console.log
2020-03-13 17:09:13 -07:00
Timmy Crawford
5880ef902d
Add ability to filter props for js-based tracks.
2020-03-13 16:31:06 -07:00
Jeff Stieler
6a8d8b27d9
Fix missing notes table on 4.0.0 upgrade. ( #25891 )
...
* Don't attempt to create a WC-Admin note before the tables exist.
2020-03-13 12:20:41 -06:00
Christopher Allford
8c0f4a1204
Made the is_package_shippable check more permissive
...
Initially it was made more precise to avoid calculating estimates for incomplete addresses. Due to some bad working in template files though, as well as historical precedent, we need to change it back.
2020-03-13 09:15:31 -07:00
Rodrigo Primo
e61e865a4a
Change string for untested WC extensions to avoid confusions
...
This commit changes the string that is displayed to the users in the system status report page when an old version of a WC extension is installed and it doesn't declare support for the current WC core version.
The original message was:
"WooCommerce Min/Max Quantities - by WooCommerce - 2.4.11 - 2.4.12 is available - Not tested with the active version of WooCommerce"
The new message is:
"WooCommerce Min/Max Quantities - by WooCommerce - 2.4.11 - This version is not tested with the active version of WooCommerce (update is available)"
The problem with the original message is that it gives users the impression that even the newest version (2.4.12 in the example above) is not tested with the active version of WooCommerce.
2020-03-12 12:01:35 -03:00
Rodrigo Primo
4dde5ee453
Remove unused variable
2020-03-12 11:24:35 -03:00
Rodrigo Primo
d067a2bd12
Fix PHP docblock for WC_Plugin_Updates::get_untested_plugins()
...
The documentation of the method
WC_Plugin_Updates::get_untested_plugins() said that it only considers
active plugins when getting the list of untested plugins, but it
actually considers all installed plugins. This commit simply updates the
documentation to reflect the method behavior.
2020-03-12 11:01:36 -03:00
Rodrigo Primo
b9165c66a8
Refactor code that lists plugins to avoid duplication
...
This commit creates a new method called
WC_Admin_Status::output_plugins_info() that is used to display the
plugins that are installed on the site in the system status report page.
It is used to display both the active and inactive plugins sections and
it was created to remove code duplication.
I don't think that adding this code as a method to WC_Admin_Status is
an ideal solution but it is the best that I could think and it is better
than duplicating code. Suggestions of other places are welcome.
2020-03-12 10:47:54 -03:00
vedanshujain
7dad11dfc2
Also used add_query_args for better compatibility
2020-03-12 16:30:08 +05:30
vedanshujain
75c3583ff5
Use admin_url instead of using absolute url to support subfolder installs
2020-03-11 21:30:35 +05:30
vedanshujain
509b2c180d
Set usage count as its required by usages query
2020-03-11 20:44:52 +05:30
Rodrigo Primo
83691541c2
Bump WooCommerce version since 4.1.0 development has begun
2020-03-11 11:37:35 -03:00
Denis Dvali
955bb2ca7e
Change "products" argument type from array to object.
2020-03-10 17:41:39 +03:00
Rodrigo Primo
f32c062739
The db update routine that updates the db version should be the last one
...
This commit simply changes the order of the database update callbacks
for WC 4.0 to make sure that wc_update_400_db_version is the last one.
2020-03-10 09:31:45 -03:00
Rodrigo Primo
cd75870267
Add the wc_update_400_ prefix to db update routine
...
The db update routine that resets action scheduler migration status was
missing the wc_update_400_ prefix. Doing this for the sake of
consistency.
2020-03-10 09:27:30 -03:00
Timmy Crawford
0c1f468692
Add filter for php-based tracks event properties.
2020-03-09 12:46:40 -07:00
Rodrigo Primo
d65cd6204e
Merge pull request #25823 from michaelignacio/fix/25781
...
Remove guided tour videos link on setup wizard
2020-03-09 09:34:16 -03:00
Peter Fabian
2eca326825
Improve translatability of version string.
2020-03-09 13:07:32 +01:00
vedanshujain
22392546f6
Add documentation links for settings
2020-03-09 10:47:32 +01:00
Michael Ignacio
d2a00bff04
Remove mention of guided tour videos on setup wizard
2020-03-08 19:33:28 +08:00
Rodrigo Primo
fb1001b14a
Merge pull request #25825 from woocommerce/fix/etc-comma
...
Add comma before 'etc.' in address 2 placeholder
2020-03-06 14:50:14 -03:00
Rodrigo Primo
1910420896
Merge pull request #24776 from boghy933/feature/24754
...
Option for free shipping if should ignore discounts or not
2020-03-06 13:10:45 -03:00
Rodrigo Primo
709d3f64a3
Merge pull request #25835 from woocommerce/add-rtl-style-to-obw
...
Add RTL style to the onboarding wizard
2020-03-06 12:01:12 -03:00
Rodrigo Primo
b3724a38c7
Add RTL style to the setup wizard
...
Kudos to @kadimi who is the original author of this change (see #24623 ).
I'm doing this commit as we were not able to merge their PR due to a
conflict and we were also not able to cherry-pick their commit as GitHub
is reporting that the PR was created from a unknown repository.
2020-03-06 11:41:38 -03:00
Rodrigo Primo
9b6d66cf1f
Merge pull request #25609 from SamirMahmudzade/patch-3
...
Update KZT (₸) symbol wc-core-function.php
2020-03-06 11:36:11 -03:00
Rodrigo Primo
e1aaa6c63c
Merge pull request #25611 from tyrann0us/patch-1
...
Fix typo in DocBlock of `woocommerce_template_loop_product_link_close()`
2020-03-06 09:26:31 -03:00
Rodrigo Primo
5ef13786e4
Merge pull request #25830 from woocommerce/fix/wc-admin-system-status-logic
...
Update system status info about WC Admin.
2020-03-05 15:31:20 -03:00
Peter Fabian
a9e262cb38
Make inactive plugin more visually distinctive.
2020-03-05 19:19:20 +01:00
Peter Fabian
381386bdaf
Rename $path to prevent clashing with global variable.
2020-03-05 19:11:56 +01:00
grigorijurasov
06f44f386b
Update wc-core-functions.php
2020-03-05 18:41:14 +01:00
Rodrigo Primo
e39db20eca
Add woocommerce_emogrifier action ( #25829 )
...
* add woocommerce_emogrifier action
* fix formating issue
* fix formating, again :"
;
2020-03-05 14:02:29 -03:00
Rodrigo Primo
b53bde72d9
Merge pull request #25811 from adams-specialty-products/master
...
Fixes "screen-reader-text" label_class set as string
2020-03-05 13:59:41 -03:00
Rodrigo Primo
e12b2a0af7
Merge pull request #25728 from leanzafrancesco/add/can-restock-refunded-items-filter
...
Add woocommerce_can_restock_refunded_items filter
2020-03-05 13:53:53 -03:00
Peter Fabian
0bd518cf52
Update system status info about WC Admin.
...
The check now also tests whether wc admin is active to prevent notice about undefined constant when running on WP 5.2 and older, or with inactive WC Admin.
2020-03-05 17:50:55 +01:00
Rodrigo Primo
8e006a962f
Merge pull request #25826 from jobthomas/jobthomas-help-tab-review
...
"Help" tabs review
2020-03-05 13:48:56 -03:00
Rodrigo Primo
e40ddc5291
Merge pull request #25727 from leanzafrancesco/add/order-tax-location-filter
...
Add woocommerce_order_get_tax_location filter
2020-03-05 13:48:40 -03:00
Peter Fabian
9b42f6a4fc
Merge pull request #25828 from woocommerce/fix/admin-notices
...
Display only wc-admin notices when enabled to avoid duplicate notices
2020-03-05 16:47:09 +01:00
Christopher Allford
d165f91c71
Merge pull request #25682 from woocommerce/fix/25637
...
Escape MaxMind database URL
2020-03-05 07:44:50 -08:00
Claudio Sanches
85ca36919b
Use urlencode
2020-03-05 11:54:41 -03:00
vedanshujain
9ac9970a77
Also display on selected pages outside of wc-admin
2020-03-05 17:07:10 +05:30
vedanshujain
4b3977868b
Display only wc-admin notices when enabled to avoid duplicate notices
2020-03-05 16:53:10 +05:30
Job
1cd3ae0088
Remove the "Education" tab from Help
...
We still had an education tab there, but we have no active agreements with any of the recommended resources. I think we can just delete thme from core.
2020-03-05 11:39:08 +02:00
Job
1bac3ae62c
Updated the Help & Support tab
...
The Help & Support tab didn't correspond in terminology to what we're using on WooCommerce.com. Notable changes:
* "Helpdesk" --> "WooCommerce.com Support"
* URL for getting help on WooCommerce.com updated
* More active voice in instructions
2020-03-05 11:35:13 +02:00
Albert Juhé Lluveras
515f5604f4
Add comma before 'etc.' in address 2 placeholder
2020-03-05 10:31:19 +01:00
Rodrigo Primo
05cfc7eece
Add @since tag to get_woocommerce_currency_symbols()
...
See #25733
2020-03-04 16:26:07 -03:00
Rodrigo Primo
62d3a1fa44
Fix typo
2020-03-04 16:25:33 -03:00
Rodrigo Primo
c529273973
Merge pull request #25733 from TimBHowe/fix/25732
...
Added the get_woocommerce_currency_symbols function to allow develope…
2020-03-04 16:23:50 -03:00
Rodrigo Primo
0aa438e031
Add version to @since tag of WC_Coupon_Data_Store_CPT::updated_props
...
See #25755
2020-03-04 15:57:17 -03:00
Rodrigo Primo
831b02a0a6
Merge pull request #25755 from nefeline/fix/undefined-property-coupon-post-meta-update
...
Fix > Undefined property error when updating the coupon post meta
2020-03-04 15:56:24 -03:00
Daniel Morell
7b7934e237
Fixed screen-reader-text label class set as string
...
The field 'label_class' should be an array not a string. This fix makes it an array.
2020-03-03 14:06:52 -06:00
vedanshujain
d8388ef266
Remove rounding because we already appropriately round in `get_rounded_items_total`.
2020-03-03 16:34:35 +05:30
vedanshujain
a0c209193b
Remove rounding because individual lines would already have been rounded at this point if needed.
2020-03-02 15:19:16 +05:30
vedanshujain
15d4bd7381
Don't individual tax lines to honour "Round at subtotal" setting.
2020-03-02 15:19:16 +05:30
vedanshujain
3546e60d96
Use common rounding method for consistency.
2020-03-02 15:19:16 +05:30
vedanshujain
740e2c8a92
Treat individual tax totals as line items because they will be totalled later.
...
This means that we won't round them individually unless we have setting for round at line item enabled.
2020-03-02 15:19:16 +05:30
vedanshujain
48e63adf77
Make rounding methods consistent in orders and cart
2020-03-02 15:19:16 +05:30
vedanshujain
f5e5eda946
Refactor `create_order` to make it more testable
2020-03-02 15:19:00 +05:30
Vedanshu Jain
6f2b232fc7
Merge pull request #25734 from woocommerce/fix/25650
...
Fixed caching for order item on deletion
2020-02-27 13:48:44 +05:30
Christopher Allford
37ff503855
Adjusted the ordering of the cache clear on order item deletion to prevent leaving behind a ghost cache entry
2020-02-26 09:36:28 -08:00
Christopher Allford
165138fc30
Renamed the WC_Order_item_Data_Store::clear_cache method to be consistent with other data stores.
2020-02-26 09:34:27 -08:00
Peter Fabian
150c77ba29
Improve coupon name output handling.
2020-02-26 12:24:04 +01:00
Peter Fabian
1edddebbde
Merge pull request #25701 from woocommerce/fix/25700
...
change the namespace of the WC Admin Package class
2020-02-26 12:10:14 +01:00
Peter Fabian
d9c90dc873
Merge pull request #25757 from woocommerce/fix/25756
...
move edited attribute message to consistent location
2020-02-26 11:28:29 +01:00
Peter Fabian
7fdee5b03e
Merge pull request #25707 from woocommerce/fix/as-460
...
Mark AS migration pending when updating WC to ensure migration happens.
2020-02-25 22:03:45 +01:00
Peter Fabian
4271eb94d7
Merge pull request #25736 from woocommerce/try/db-update-notice
...
Added the WC Admin enabled db update notice.
2020-02-25 20:19:38 +01:00
Ron Rennick
25ab5596a2
fix composer.lock conflict
2020-02-25 15:00:55 -04:00
Ron Rennick
4e43b27aed
update status report to correctly show active plugin
2020-02-25 14:51:22 -04:00
Patricia Hillebrandt
c3379482a2
Updating docblock
2020-02-25 16:53:40 +01:00
Ron Rennick
84c2c7fb00
move edited attribute message to location consistent with other edited messages
2020-02-25 11:28:11 -04:00
Peter Fabian
d9f702c3d4
Merge pull request #25670 from woocommerce/fix/25664-2
...
Replaced deprecated Jetpack::is_staging_site call
2020-02-25 15:20:11 +01:00
Peter Fabian
63486a1cb0
Force the saving of notices for the 'install' notice to prevent performance problems for all notices, while also making it less prone to race conditions during the installation.
2020-02-25 15:00:37 +01:00
Peter Fabian
992c6538dc
Force the saving of notices only for the 'update' notice to prevent performance problems.
2020-02-25 14:58:02 +01:00
Peter Fabian
f3dceae5df
Added more exclusions for the DB notice show_reminder method.
...
Also, moved `woocommerce_hide_update_notice` outside those exclusions in case
it would get triggered from cron or via AJAX.
2020-02-25 14:51:09 +01:00
vedanshujain
f5220383a5
Add defensive checks because `configure` is not present in older jetpack version
2020-02-25 15:03:15 +05:30
Peter Fabian
d4933d9a5d
Run configure for Jetpack plugin before attempting to try_registration.
...
This should prevent the fatal error otherwise occuring when connecting with Jetpack
during the OBW if Jetpack is inactive/not installed.
2020-02-24 17:47:07 +01:00
Peter Fabian
27b5210fdf
Merge branch 'master' into fix/25664-2
2020-02-24 13:34:24 +01:00
Peter Fabian
3dcb3e0106
Correct the fallback check logic for is_staging_site().
...
There are JP versions where \Automattic\Jetpack\Status exists, but does not
contain is_staging_site() function, so this commit should correctly handle
those cases as well.
2020-02-24 11:01:44 +01:00
brakf
a0ebe12cc2
reverted my changes as I moved the filter to wc-order-functions
2020-02-24 08:24:12 +01:00
brakf
050d702f49
move filter to wp-order-functions.php
2020-02-24 08:22:34 +01:00
Peter Fabian
7ec65a1b35
Added the WC Admin enabled db update notice.
2020-02-23 21:59:03 +01:00
Christopher Allford
6a292de9f9
Cleared the cache when order items are added, updated, or deleted
2020-02-23 12:41:33 -08:00
Christopher Allford
e2a09ac1a7
Added a cache clearing method to the order item data store
...
The order items utilize caching, but the cache is never cleared. This will allow us to resolve this issue in a way consistent with other data stores.
2020-02-23 12:11:23 -08:00
TimBHowe
34bec7d839
Added the get_woocommerce_currency_symbols function to allow developers to get an array of all the currency symbol registered with woocommerce
2020-02-23 13:51:19 -05:00
Patricia Hillebrandt
bd53e2eb60
Prevents the Undefined property error when updating the post meta for a given coupon
2020-02-23 14:07:18 +01:00
Francesco Leanza
c90a275bc7
Added woocommerce_can_restock_refunded_items filter
2020-02-21 19:15:09 +01:00
vedanshujain
6f53f42da6
Add checks to prevent if AS loaded is different version than we expect.
2020-02-21 16:35:37 +05:30
Francesco Leanza
5dfb618ff9
Add woocommerce_order_get_tax_location filter
2020-02-21 11:45:06 +01:00
Christopher Allford
bfac625cdc
Merge pull request #25667 from jacoswan/fix-25666
...
Fix 25666 - Schema rating markup is missing required bestRating and worstRating
2020-02-19 18:09:23 -08:00
Peter Fabian
88b8c006db
Extracted the test to a function and fixed is_callable call.
2020-02-19 14:44:16 +01:00
vedanshujain
90ab985cfb
Mark AS migration pending when updating WC to ensure migration happens.
...
Ideally https://github.com/woocommerce/action-scheduler/pull/470 should take care of this issue, but since we have AS 3.x in the wild without fix in the PR, this change is also necessary.
2020-02-19 18:19:11 +05:30
Christopher Allford
18d42d5880
Merge pull request #25697 from woocommerce/fix/autoloader-conflict
...
Avoid `Automattic\Jetpack\Constants` in main woocommerce class
2020-02-18 14:07:59 -08:00
Christopher Allford
9557b2e15a
Merge pull request #25681 from woocommerce/fix/25638
...
Apply new filter in MaxMind database migration
2020-02-18 12:10:09 -08:00
Mike Jolley
a67ece743d
Avoid Automattic\Jetpack\Constants in main woocommerce file
2020-02-18 15:13:30 +00:00
Claudio Sanches
63fcbab7b4
Escape MaxMind database URL
2020-02-16 18:55:49 -03:00
Claudio Sanches
fd488e5d2c
Apply woocommerce_maxmind_geolocation_database_path filter in maxmind migration
2020-02-16 18:47:03 -03:00
Peter Fabian
80a5ee087c
Replaced deprecated is_staging_site call.
2020-02-14 12:01:30 +01:00
Yaku
9191068068
Added missing schema markup
...
Take 3. Aanhouer wen. Viewed invisible to compare my changes to the rest of the doc. All seems the same now.
2020-02-14 10:51:41 +02:00
Yaku
816b3b3251
Added missing schema markup
...
Second attempt, fixed spacing of previous added values
2020-02-14 10:18:37 +02:00
Yaku
0a24ea44ea
Update class-wc-structured-data.php
...
Adds bestRating and worstRating where requried as per Schema.org
2020-02-13 22:18:58 +02:00
picocodes
91b01ccaff
fix typo
2020-02-12 17:13:13 +03:00
Remi Corson
c9092d5dbf
backwards compatibility
2020-02-11 16:35:40 +01:00
Remi Corson
89f07da20d
Replace {sitde_address} by {site_url} for consistency
...
Replace {sitde_address} by {site_url} for consistency in WooCommerce emails, for better consistency.
2020-02-11 10:46:32 +01:00
Philipp Bammes
0097beef17
Fix typo in DocBlock of `woocommerce_template_loop_product_link_close()`
...
Replace `opening` with `closing`.
2020-02-07 16:51:12 +01:00
SamirMahmudzade
443429bd14
Update KZT (₸) symbol wc-core-function.php
...
Update the Kazakhstani tenge symbol KZT (₸) symbol wc-core-function.php
2020-02-07 18:23:36 +04:00
vedanshujain
ee0e94e909
Change how filter is implemented to help both 3PD and translators
2020-02-07 17:54:54 +05:30
vedanshujain
707a9bf9a0
Bump versions
2020-02-07 17:54:54 +05:30
vedanshujain
cc26fdb2e3
Updated docs link
2020-02-07 17:54:54 +05:30
vedanshujain
b29219969c
Addressed code review comments
2020-02-07 17:54:54 +05:30
vedanshujain
ca5fd12103
Add setting to configure hash appends
2020-02-07 17:54:54 +05:30
vedanshujain
56176e0479
Append unique hash to filename for added security
2020-02-07 17:54:54 +05:30
vedanshujain
44677bbab7
Fallback to force for remote file because xsendfile don;t support it by default
2020-02-07 17:54:54 +05:30
vedanshujain
dc060fe700
Add notice when "redirect only" download method is selected.
...
This download is insecure as it reveals the original file location. We will try to nudge user to use any of the other download method instead.
2020-02-07 17:54:54 +05:30
vedanshujain
d7bac6313c
Add suffix "Insecure" to indicate that this method is insecure
2020-02-07 17:54:54 +05:30
Peter Fabian
1441d8c07b
Merge pull request #25597 from woocommerce/try/obw-jn-as-race-cond
...
Try to fix the setup wizard trouble on JN
2020-02-07 13:04:06 +01:00
Rodrigo Primo
1183619cfc
Updated version to 4.0.0-beta.1 ( #25591 )
...
* Updated version to 4.0.0-beta.1
* Used the final desired version in class WooCommerce.
2020-02-07 09:02:20 -03:00
Peter Fabian
4f485a14de
Added explanation comments.
2020-02-07 12:58:31 +01:00
Peter Fabian
5fc2e8fba9
Only skip the store_notices during new install in AS.
2020-02-07 11:06:35 +01:00
John
f92bbf249a
Hide Germany's, Denmark's and Sweden's state field
...
When you choose the country 'Germany'(or Denmark or Sweden) from a woocommerce website, the state field is hidden. So I added to be hidden in this class too.
2020-02-07 02:10:38 +02:00
Peter Fabian
4c4f9f1164
Don't save notices when running from AS.
2020-02-07 00:21:03 +01:00
Peter Fabian
06d0bbefc4
Don't run setup wizard redirects from AS.
2020-02-07 00:20:42 +01:00
Peter Fabian
68fe4d9f0e
Used the final desired version in class WooCommerce.
2020-02-06 21:33:22 +01:00
Christopher Allford
b5d5be7df1
Removed the admin screen checking in favor of good old fashioned request parameters for COD gateway setting loading
2020-02-06 12:29:01 -08:00
Christopher Allford
30fd538acf
Added function_exists check to COD gateway settings check
2020-02-06 10:03:26 -08:00
Peter Fabian
422d8787f5
Updated version to 4.0.0-beta.1
2020-02-06 14:00:43 +01:00
Peter Fabian
7233dc8a2e
Merge pull request #25011 from woocommerce/try/add-wc-admin
...
wc-admin: Include package
2020-02-06 12:09:25 +01:00
Peter Fabian
ee865fe0b4
Merge pull request #25504 from woocommerce/update/order-detail-summary
...
Enhance order details and payment summary
2020-02-06 11:40:45 +01:00
Claudio Sanches
4de580dca8
Merge pull request #25573 from mgibbs189/master
...
Adds a `woocommerce_shortcode_products_query_results` hook
2020-02-05 18:42:06 -03:00
Peter Fabian
5c23d013d7
Added info about packages to System Status Report.
2020-02-05 21:54:05 +01:00
Rodrigo Primo
44ecb0ec9e
Only display the "Paid by customer" section if the order has been paid
...
This commit changes the condition in the if the statement that decides
whether or not to display the "Paid by customer" section in the order admin
page. Before it, this section was displayed for all orders that
contained one of the following statuses: 'processing', 'completed' or 'refunded'.
The problem with this approach is that offline payment gateways, like
'Cash on Delivery', set the order status to processing when the order is
placed but before the customer pays for it. So the "Paid by customer"
section was being displayed in some cases where the order was not
actually paid yet creating a confusing experience to store managers.
To fix this, this commit also checks for the presence of the
`_date_paid` order meta. If this order meta is present and the order
status corresponds to one of the three statuses listed above, it means that
the order has been paid and we can display the "Paid by customer"
section. If this order meta is not present, we don't display the "Paid
by customer" section.
2020-02-05 16:08:13 -03:00
Rodrigo Primo
7c9d6110e2
Fix typo in code comment
2020-02-05 15:48:40 -03:00
Peter Fabian
d3a33f8d05
Merge pull request #24943 from woocommerce/refactor/eu-vat-brexit
...
Brexit and VAT refactor
2020-02-05 19:41:40 +01:00
Peter Fabian
b385404861
Fixed deprecated since version.
2020-02-05 19:18:08 +01:00
Matt Gibbs
f57f1c6293
Requested commenting & hook tweaks
2020-02-05 13:08:40 -05:00
Christopher Allford
92708dde1f
Merge pull request #25512 from woocommerce/fix/25438.2
...
Fixed unnecessary loading when constructing COD payment gateway
2020-02-05 10:02:38 -08:00
Peter Fabian
46dd915044
Improve coupon notice handling.
2020-02-05 18:50:40 +01:00
Peter Fabian
5ba2cdafa5
Merge pull request #25183 from om4james/webhook-de-duplication
...
Fix for Duplicate Webhook deliveries
2020-02-05 18:38:15 +01:00
Peter Fabian
fe9a5be828
Merge pull request #25528 from woocommerce/update/wccom-installer-api-authentication
...
Use query params as fallback for obtaining authentication data in plugin installer API
2020-02-05 18:13:06 +01:00
Claudio Sanches
5b9937ad48
Merge branch 'master' into try/add-wc-admin
2020-02-05 13:02:51 -03:00
Christopher Allford
8140f7e0a1
Extracted shipping method loading for COD field into its own method
2020-02-05 06:59:02 -08:00
Christopher Allford
2f024ff024
Added tab check to COD gateway options loading
2020-02-05 06:49:33 -08:00
Claudio Sanches
2dbebdfb29
Updated deprecated message
2020-02-05 11:20:23 -03:00
Claudio Sanches
f5d2c98c3e
Updated unit test
2020-02-05 11:16:29 -03:00
Claudio Sanches
aa9082d54d
Fixed variable
2020-02-05 11:11:46 -03:00
Claudio Sanches
8b2651a353
Deprecated old method
2020-02-05 11:11:24 -03:00
Rodrigo Primo
f539d3e04b
Merge branch 'master' into update/emogrifier
2020-02-05 10:01:38 -03:00
Rodrigo Primo
ff05b06e6b
Merge branch 'master' into update/emogrifier
2020-02-05 09:56:03 -03:00
Peter Fabian
87e42acd56
Merge branch 'master' into try/add-wc-admin
2020-02-05 13:02:20 +01:00
vedanshujain
946aecae9e
Show notice when logged in user pays for gues order
2020-02-05 15:42:15 +05:30
Jeff Stieler
3cf9d76ed4
Fix wc_admin_daily event schedule persistence.
...
Avoid an option update race condition.
2020-02-04 16:04:27 -08:00
Christopher Allford
b9ceabaa52
Utilized the constants package to fix the failing tests
2020-02-04 15:50:23 -08:00
Christopher Allford
1d15df860e
Merge branch 'master' into fix/25438.2
2020-02-04 15:06:26 -08:00
Christopher Allford
57734ca8ce
Merge branch 'master' into refactor/add-jetpack-constants
2020-02-04 14:36:35 -08:00
Christopher Allford
4ae1e1f5fc
Extracted the repetitive Constants::get_constant( 'WC_VERSION' ) calls where possible
2020-02-04 14:02:57 -08:00
Garrett Hyder
3dd6489c69
Update Suggested Privacy Policy text to utilize css class instead of as it was deprecated. Also wrap the contents in the div to style the section to match WordPress. This follows from WPCoreTrac#49282 and although back-compat is being introduced in WP5.4 as of WPChangeset#47112 this change will better support users of WP5.1-5.4
2020-02-04 13:24:55 -08:00
Peter Fabian
147266f44f
Updates to reflect PR feedback.
2020-02-04 21:43:29 +01:00
Matt Gibbs
e4e0755bbc
Adds a `woocommerce_shortcode_products_query_results` hook
...
This hook makes it easier to grab a shortcode's results (product IDs, pager data)
2020-02-04 15:01:56 -05:00
MD Sultan Nasir Uddin
95ef4544a2
Fix get_discount function return type ( #25567 )
...
* Fix get_discount function return type
2020-02-04 16:59:26 -03:00
Claudio Sanches
6d123e0cc3
Tweaks on style inline method
2020-02-04 16:27:20 -03:00
Peter Fabian
5001e14086
Renamed Discounts to Coupons.
2020-02-04 18:27:53 +01:00
Claudio Sanches
6eb74eef8a
Merge pull request #25572 from woocommerce/update/25418
...
Bump template versions for #25418
2020-02-04 14:22:47 -03:00
Claudio Sanches
e0ee96cd37
Merge pull request #25418 from helgatheviking/feature/quantity-placeholders
...
Add support for placeholders in quantity inputs
2020-02-04 14:05:39 -03:00
Claudio Sanches
f021a6559f
Merge pull request #25562 from woocommerce/fix/25560
...
Removed WC Admin from the Setup Wizard if it's already active.
2020-02-04 14:03:55 -03:00
Peter Fabian
e5e5d5997e
Better name for the new function.
2020-02-04 17:53:28 +01:00
Peter Fabian
0bd2730963
Merge pull request #25253 from rohanvakharia/master
...
Fixed the datatype for min_price & max_price size
2020-02-04 17:44:37 +01:00
Claudio Sanches
6f37df1961
Merge pull request #25502 from woocommerce/fix/25488
...
[4.0] Remove wc-admin install nudge.
2020-02-04 13:19:57 -03:00
Claudio Sanches
3fa9c79d94
Remove old notice file
2020-02-04 13:17:36 -03:00
Claudio Sanches
94d1b742ad
Merge pull request #25545 from woocommerce/prep/after-3.9
...
Bumped versions for the upcoming release.
2020-02-04 13:05:27 -03:00
Claudio Sanches
ab147f7a71
Merge pull request #25532 from woocommerce/update/wccom-helper-api-authentication
...
Add query params as fallback for passing authentication data to WC Helper API
2020-02-04 13:04:11 -03:00
Rohan V
e2cb1dea73
Fix codestyle
2020-02-04 19:44:05 +05:30
Rohan Vakharia
4be33acd66
Merge branch 'master' into master
2020-02-04 19:23:22 +05:30
Peter Fabian
52e335ae5c
Merge pull request #25428 from woocommerce/update/product-lookuo-table-tax-columns
...
Add product lookup table tax columns
2020-02-04 14:20:50 +01:00
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
7a24aaecd5
Updated versions to 4.0.
2020-02-03 23:36:52 +01:00
Peter Fabian
d588218eb6
PHPCS
2020-02-03 23:18:12 +01:00
Peter Fabian
12fe0e6815
Corrected tax amount displayed in the summary.
2020-02-03 23:09:59 +01:00
Peter Fabian
f9c9498e7c
Replaced deprecated call with a substitute function.
2020-02-03 23:09:19 +01:00
Christopher Allford
bf02776a3b
Corrected inconsistent uses of the Constants library
2020-02-03 13:15:12 -08:00
Christopher Allford
c5e1fc6c45
Merge remote-tracking branch 'origin/master' into refactor/add-jetpack-constants
2020-02-03 11:50:16 -08:00
Denis Dvali
e496d6ea3f
Adding doc comments to comply with coding standard.
2020-02-03 22:14:00 +03:00
Peter Fabian
04c4732e13
Unified the check for presence of WC Admin.
2020-02-03 18:04:18 +01:00
Peter Fabian
aa8e8992cc
Merge branch 'master' into fix/25560
...
# Conflicts:
# includes/admin/class-wc-admin-setup-wizard.php
2020-02-03 17:59:24 +01:00
Peter Fabian
670dbbc5e7
Removed WC Admin from the OBW if it's already active.
...
Also, removed info about plugin installation if the plugin is active.
2020-02-03 17:41:50 +01:00
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
Rohan V
0d9462d110
Fix for existing column
2020-02-03 19:50:37 +05:30
Denis Dvali
15ad616a2f
Pass request uri argument for more explicit function call.
2020-02-03 15:47:04 +03:00
Denis Dvali
b6be0b31f8
Add arguments declaration for install REST API endpoint.
2020-02-03 14:23:03 +03: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
e83934edff
Bumped versions for the upcoming release.
2020-01-31 17:53:02 +01:00
Ron Rennick
e242d84877
fix merge conflicts
2020-01-31 10:11:01 -04:00