Commit Graph

36166 Commits

Author SHA1 Message Date
Mike Jolley f1186eaae1 NetworkOrders 2019-05-30 15:55:11 +01:00
Mike Jolley 2b343e8a67 Settings 2019-05-30 15:54:11 +01:00
Mike Jolley ddd75d71d6 PaymentGateways 2019-05-30 15:49:36 +01:00
Mike Jolley a870b7332c ShippingMethods 2019-05-30 15:47:39 +01:00
Mike Jolley 3fb09e9b0d Abstracts 2019-05-30 15:45:46 +01:00
Mike Jolley 69769bf152 Continued namespacing 2019-05-30 15:34:34 +01:00
Mike Jolley b44f6eb0d5 Data 2019-05-30 15:04:03 +01:00
Mike Jolley 28b0d9c331 Removed old reports 2019-05-30 14:55:12 +01:00
Mike Jolley b472fb660f Onboarding 2019-05-30 14:51:32 +01:00
Mike Jolley f02417114f Reports 2019-05-30 14:48:30 +01:00
Mike Jolley c6cb9d0be9 Replace textdomains 2019-05-30 14:32:10 +01:00
Mike Jolley 35dfc10dc7 Moving remaining classes to refactor 2019-05-30 14:29:39 +01:00
Mike Jolley 9934ec8420 Webhooks 2019-05-30 14:20:45 +01:00
Mike Jolley ebc4c95960 Taxes 2019-05-30 14:17:37 +01:00
Mike Jolley ed3daf8676 Reports 2019-05-30 14:12:47 +01:00
Mike Jolley 0d7105bdc4 TaxClasses 2019-05-30 14:12:42 +01:00
Mike Jolley fc69c323e2 Remove old report endpoints 2019-05-30 14:04:13 +01:00
Mike Jolley b1d756b181 Track changes 2019-05-30 14:04:07 +01:00
Mike Jolley 5ea0d8cb4e ProductTags 2019-05-30 13:38:41 +01:00
Mike Jolley 9f3c7d1ca8 ProductShippingClasses 2019-05-30 13:37:25 +01:00
Mike Jolley 9614c6a3b3 ProductReviews 2019-05-30 13:36:05 +01:00
Mike Jolley 2ca3c7f0bd ProductCategories 2019-05-30 13:24:09 +01:00
Mike Jolley 0730365d7c ProductAttributes 2019-05-30 13:21:22 +01:00
Mike Jolley a0061e5a33 ProductAttributeTerms 2019-05-30 13:14:55 +01:00
Mike Jolley 5cd250f2d6 OrderRefunds 2019-05-30 13:11:59 +01:00
Mike Jolley 837ed25a73 OrderNotes 2019-05-30 12:59:14 +01:00
Mike Jolley 9f989dcdce CustomerDownloads 2019-05-30 12:54:40 +01:00
Mike Jolley b90af46754 Products 2019-05-30 12:45:14 +01:00
Mike Jolley 2b83abe540 Orders 2019-05-30 12:24:33 +01:00
Mike Jolley a01fcb881d Customers 2019-05-30 12:08:49 +01:00
Mike Jolley 7ab7157725 v4 rejig/namespace 2019-05-30 11:48:40 +01:00
Mike Jolley c852671994 Copy over v4 and creating working dir 2019-05-30 11:20:56 +01:00
Rodrigo Primo 3ea8162cff
Merge pull request #23838 from woocommerce/feature/23829
Introduced woocommerce_search_products_post_statuses filter
2019-05-29 14:48:46 -03:00
Fulvio Notarstefano ab1ba58128 [#23839] Do not throw an autoloader notice if following the notice recommendation 2019-05-29 12:47:26 +08:00
Claudio Sanches b5da70c74a Introduced woocommerce_search_products_post_statuses filter 2019-05-28 21:05:26 -03:00
Claudio Sanches 2f7ec9506f New tests for is_postcode with NL postcodes 2019-05-28 20:55:51 -03:00
Claudio Sanches e04e9ae521 Make NL postcode validation more flexible
Allows postcode without spaces and in lowercase.
2019-05-28 20:51:07 -03:00
Claudio Sanches 2e90e9ab65
Merge pull request #23743 from Sisanu/issue-23717-enhancement-hook
Implement the info & extra actions new filter for Product gallery
2019-05-28 18:22:33 -03:00
Claudio Sanches 2fdf6de827
Merge pull request #23764 from jorgept/patch-1
Update class-wc-countries.php
2019-05-28 18:19:41 -03:00
Claudio Sanches c28af404ad
Merge pull request #23814 from woocommerce/add/x-sendfile-file-filter
Add filters to file paths passed to the different xsendfile like backends
2019-05-28 17:41:49 -03:00
Jonathan Moore 5d6574a00a
rating optional = generate_product_data incorrect
If rating is not mandatory on comments, generate_product_data() produces incorrect output.
For example items with comments but no reviews are output with rating of zero which is getting flagged in google webmasters tools under the heading "Rating is missing required best and/or worst values".

The output google is objecting to is eg:
"aggregateRating":{"@type":"AggregateRating","ratingValue":"0","reviewCount":1}}

postmeta in this case is:
_wc_average_rating 0
_wc_rating_count 0.0
_wc_review_count 1

product lookup table is reporting
rating_count 0
average_rating 0.00

the meta is correct and reflected in the product object, it is the test that is wrong since
if $product->get_review_count() 
may be true even if there are no ratings.

This is solved by substituting get_rating_count() which has the correct number of ratings.
2019-05-28 07:38:07 +01:00
Claudio Sanches b61ca1ded7 Fixed copy and paste 2019-05-28 00:03:08 -03:00
Rodrigo Primo 31affff196 3.6.4 changelog 2019-05-27 16:35:39 -03:00
Rodrigo Primo 3d12ec4ae2 Remove extra comma to prevent issues with older versions of IE
This commit simply removes an extra comma that was added in
52fced8d7a to prevent issues with older
versions of IE. I found this when running grunt to prepare the 3.6.4
release:

```
Running "jshint:all" (jshint) task

   assets/js/admin/meta-boxes-order.js
    413 |                    user_email : user_email,
                                                    ^ Extra comma. (it breaks older versions of IE)
```

We might want to add jshint to the pre-commit hook and to Travis.
2019-05-27 14:38:54 -03:00
Rodrigo Primo 000c95ea88
Merge pull request #23659 from woocommerce/add/wc-admin-install-nudge
Add wc-admin notice.
2019-05-27 12:29:43 -03:00
Rodrigo Primo ff1020a787
Merge pull request #23787 from woocommerce/fix/tracks-cookie-set-action
Tracks: set cookie on admin_init insead of wp_loaded
2019-05-27 12:16:27 -03:00
Rodrigo Primo 67663836c0
Merge pull request #23739 from woocommerce/fix/23737
Remove administrative message from refund reason
2019-05-27 12:12:07 -03:00
Rodrigo Primo ce6f6a6ddb
Merge pull request #23772 from woocommerce/fix/OBW-tracks-not-enabled
Tracks: Add check for OBW is-opting-in
2019-05-27 12:09:00 -03:00
Gerhard Potgieter b2ed079520 Manual orders coupon usage limits by email (#23775)
* Add functionality to wp-admin order to check for coupon usage based on email addresses, similar to how WC_Cart handles this seperately, included unit tests.

* Only do the coupon by email usage check if order is from a guest. Fix issue with unit test.
2019-05-27 11:45:29 -03:00
Gerhard f5c5ced6b8 Update Emogirifier library 2019-05-27 11:39:33 +02:00