Commit Graph

19704 Commits

Author SHA1 Message Date
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
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
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 fd488e5d2c Apply woocommerce_maxmind_geolocation_database_path filter in maxmind migration 2020-02-16 18:47:03 -03: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
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
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