Rodrigo Primo
36ca6ef901
Merge branch 'master' into update/use-post-author-for-customer-id
2018-04-11 15:19:58 -03:00
Mike Jolley
efe0d36eea
Load meta box input values using CRUD and edit context
2018-04-10 13:01:52 +01:00
Mohammed Saimon
eccd74b71d
added checking for invalid ratings while saving
2018-04-09 18:13:13 +06:00
Mohammed Saimon
6d973b98b6
returned data early if nonce checking is failed
2018-04-07 15:13:35 +06:00
Mohammed Saimon
6f36133ed5
Product rating count doesn't update when ratings are edited by admin is fixed #19581
2018-04-07 12:50:14 +06:00
Claudio Sanches
900c8fc33f
Merge pull request #19380 from woocommerce/update/19302
...
Override supports for PayPal to see if credentials exist
2018-04-06 15:44:42 -03:00
Mike Jolley
68c6c16a3b
Merge pull request #19611 from woocommerce/fix/wc_get_page_id-bug
...
Fixed bug when using asbint() with wc_get_page_id()
2018-04-05 10:55:43 +01:00
Mike Jolley
b0d3f732d6
Merge pull request #19615 from woocommerce/fix/variable-passed-by-reference
...
Fixed PHP notice in WC_Product_CSV_Importer_Controller->handle_upload
2018-04-05 10:53:52 +01:00
Mike Jolley
086f07c47d
Merge pull request #19602 from woocommerce/fix/19431
...
Link product import/export to import/export capabilities
2018-04-05 10:45:29 +01:00
Claudio Sanches
0ac857f049
Fixed PHP notice in WC_Product_CSV_Importer_Controller->handle_upload
...
Fixed notice:
```
PHP Notice: Only variables should be passed by reference in includes/admin/importers/class-wc-product-csv-importer-controller.php on line 298
```
2018-04-04 15:50:08 -03:00
Claudio Sanches
95edc882ea
Fixed bug when using asbint() with wc_get_page_id()
...
When a page does not exists `wc_get_page_id()` returns `-1`, so applying
`absint()` should cause bugs when comparing with "Hello world!" page.
2018-04-04 12:12:05 -03:00
Claudio Sanches
ac2e71f22f
Merge pull request #19607 from kouratoras/patch-1
...
Switch to intval when checking for the shop page
2018-04-04 12:02:56 -03:00
Peter Fabian
ada11aa4e2
Hid import/export from menu when having insufficient capabilities
...
- Made AJAX reply more verbose in case of insufficient capabilities.
2018-04-04 15:06:13 +02:00
Konstantinos Kouratoras
7a9569a185
Switch to intval when checking for the shop page
...
When shop page is not set, shop page id is set to -1. Using absint when checking if the current page is the shop page, this was applied to post with ID 1. Using intval, this is prevented.
Fixes #19606
2018-04-04 15:15:36 +03:00
Peter Fabian
0e25f5840a
Comment PHPCS fix.
2018-04-04 12:18:53 +02:00
Peter Fabian
d920f3dcba
PHPCS fixes.
2018-04-04 12:06:01 +02:00
Peter Fabian
1ef47120a8
Link product import/export to import/export capabilities
...
- show Import/Export Products buttons only if the user has import/export capability
- show Woo importer/exporter under Tools only if user has import/export capability
- require both edit_products and import/export to run those actions
-
2018-04-04 10:30:49 +02:00
Philip Downer
73ff850b82
Add filter to suppress WordPress.com connection message.
...
Allows developers to supress only the WordPress.com connection message, while still leaving other admin notices (eg., upgrade notice) in place.
2018-04-03 13:42:01 -05:00
Rodrigo Primo
a7d2c5dd6e
Merge branch 'master' into update/use-post-author-for-customer-id
2018-04-03 15:13:07 -03:00
Mike Jolley
5ac7aac369
Improve can_refund_order and add unit tests
2018-04-03 17:09:09 +01:00
Mike Jolley
5bc26ebd79
Merge branch 'master' into update/17427
2018-04-03 14:38:49 +01:00
Claudiu Lodromanean
fe140110a6
Merge pull request #19502 from rynaldos/duplicate-queries
...
Duplicate queries for WC_Admin_Report->get_order_report_data()
2018-04-02 08:49:25 -07:00
Will Gorham
55707ecc7e
Display order item refund as negative value
2018-03-30 17:09:44 -04:00
Mike Jolley
01be034279
Disable geolocation if using legacy php #19548
2018-03-29 17:04:31 +01:00
Mike Jolley
b88289e5c1
GeoIP version check in status report
2018-03-29 16:44:45 +01:00
Mike Jolley
7ec6917475
PHP version checks to recommend 7.2
2018-03-29 16:38:44 +01:00
Mike Jolley
36aee04abb
Include WordPress version check and resolve phpcs issues
2018-03-29 16:08:36 +01:00
Mike Jolley
4a6c526229
Merge pull request #19557 from bernattorras/before_variations_hook
...
Add 'woocommerce_variable_product_before_variations' hook to variations tab
2018-03-29 11:00:34 +01:00
bernat torras
307605a739
Added 'Removed extra tabs
2018-03-28 21:27:46 +02:00
Claudio Sanches
e718bdd11c
Merge pull request #19192 from nishitlangaliya/Issue-18990
...
Fixes- Admin - removed product type column
2018-03-28 15:37:57 -03:00
bernat torras
47d85844d8
Added 'woocommerce_variable_product_before_variations' hook to variation tab
2018-03-28 16:02:06 +02:00
Mike Jolley
57378785bf
Split up state and country fields
2018-03-27 19:32:04 +01:00
Mike Jolley
38c29204d4
Include US in US dollar dropdown so it's searchable
2018-03-27 18:35:15 +01:00
Mike Jolley
0c3ab5d485
Update currency text to make it clear it's to accept payments
2018-03-27 13:35:13 +01:00
Mike Jolley
dd3b998851
Tweak wording for opt-out
2018-03-27 13:00:19 +01:00
rspublishing
2eca0d73bd
Duplicate queries for WC_Admin_Report->get_order_report_data()
2018-03-23 11:15:21 +02:00
Claudio Sanches
21dc6d28cf
Merge branch 'master' into feature/18477
2018-03-21 14:31:58 -03:00
Mike Jolley
ce7caa8029
Merge branch 'master' into fix/19284
2018-03-19 13:01:31 +00:00
Mike Jolley
f7056a4284
missing echo
2018-03-19 12:59:50 +00:00
Mike Jolley
eb26221b1a
Merge branch 'master' into update/19061
2018-03-16 13:59:05 +00:00
claudiulodro
b0fa583f6e
Enable selecting with tab key on selectWoo
2018-03-15 11:52:07 -07:00
Mike Jolley
4bbdf30794
Reload gateways after updating the order. Fixes #19401
2018-03-15 12:39:30 +00:00
Mike Jolley
e86ae89123
phpcs
2018-03-15 12:36:10 +00:00
Claudiu Lodromanean
feba3bd3ed
Merge pull request #19378 from woocommerce/fix/19217
...
Deletes orphan variations after successful import.
2018-03-14 08:27:30 -07:00
Mike Jolley
a60e51afe1
Merge branch 'master' into update/setup-wizard-activate-step-when-jetpack-connected
2018-03-14 12:49:44 +00:00
Mike Jolley
f771e323d9
Set opt-in/out based on geolocation data and DNT headers
2018-03-14 12:32:40 +00:00
Mike Jolley
cb3c4849b4
Merge branch 'master' into fix/19175
2018-03-13 18:14:36 +00:00
Claudio Sanches
39c702403a
Updated system status message about MaxMind GeoIP database
2018-03-13 14:54:56 -03:00
Claudiu Lodromanean
3a5644ddce
Merge pull request #19338 from woocommerce/fix/19222
...
Fix JS state/country inputs
2018-03-13 10:10:24 -07:00
Mike Jolley
d910f11b49
Delete orphans after import
2018-03-13 11:14:24 +00:00