Commit Graph

26777 Commits

Author SHA1 Message Date
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
Mike Jolley 95d3266bfc
Merge pull request #19598 from woocommerce/fix/19500
Handle manage_stock mixed content for variations
2018-04-04 11:28:24 +01: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 55632d0703 Switched Georgian Lari to correct UTF symbol 2018-04-04 11:11:05 +02:00
Mike Jolley 70ecf0f62f
Merge pull request #19601 from woocommerce/fix/remove-product-type-css
Removed remaining span.product-type styles
2018-04-04 09:55:34 +01: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
Claudio Sanches a19685abb1 Removed remaining span.product-type styles 2018-04-03 16:26:01 -03: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 4e42b2cd30 Handle manage_stock mixed content for variations 2018-04-03 17:46:43 +01:00
Mike Jolley 5ac7aac369 Improve can_refund_order and add unit tests 2018-04-03 17:09:09 +01:00
Mike Jolley 46516422dd
Merge pull request #19221 from woocommerce/pr/18596
Use shipping method instances to conditionally enable COD
2018-04-03 16:26:39 +01:00
Mike Jolley d02106f697 Merge branch 'master' into pr/18596 2018-04-03 16:24:19 +01:00
Claudio Sanches d043e4727b
Merge pull request #19595 from woocommerce/fix/19562
Trigger post modified update when saving products and variations, but no other product data
2018-04-03 12:23:10 -03:00
Mike Jolley 7b45e90357 Merge branch 'master' into update/19302 2018-04-03 14:57:24 +01:00
Mike Jolley fcb74a30ff
Merge pull request #19550 from woocommerce/update/17427
Wizard: changes to the Store Setup step
2018-04-03 14:39:20 +01:00
Mike Jolley 5bc26ebd79 Merge branch 'master' into update/17427 2018-04-03 14:38:49 +01:00
Mike Jolley 8721d62b67 update test 2018-04-03 14:37:31 +01:00
Mike Jolley 2ed018d542 Trigger post modified update when saving products and variations, but no other product data
Closes #19562
2018-04-03 12:51:58 +01:00
Claudiu Lodromanean 3a20e32531
Merge pull request #19583 from GlennMartin1/patch-1
update readme.txt PHP version recommendation
2018-04-02 08:51:22 -07: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
Claudiu Lodromanean a6864ed0a4
Merge pull request #19582 from willgorham/fix/19576
Display order item refund as negative value
2018-04-02 08:35:40 -07:00
GlennMartin1 15482c3433
update readme.txt PHP version recommendation
Create consistent PHP 7.2 version recommendation in readme.txt to match System Status recommendation. See https://github.com/woocommerce/woocommerce/pull/19573

plus a Git link typo
2018-03-31 01:16:56 -04:00
Will Gorham 55707ecc7e Display order item refund as negative value 2018-03-30 17:09:44 -04:00
Claudiu Lodromanean 5ff236fd54
Merge pull request #19567 from woocommerce/fix/19524
Ensure background process class returns `data` as an array
2018-03-30 08:13:52 -07:00
Claudiu Lodromanean de0d529377
Merge pull request #19568 from woocommerce/fix/19435
Only push to lightbox if image is found
2018-03-30 08:11:21 -07:00
Claudiu Lodromanean b92ea90761
Merge pull request #19571 from Chouby/before_delete_product
Add action woocommerce_before_delete_{$post_type}
2018-03-30 08:00:17 -07:00
Claudio Sanches ce829e3714
Merge pull request #19573 from woocommerce/update/19546
System status and php version notices
2018-03-29 14:24:34 -03:00
Mike Jolley 01be034279 Disable geolocation if using legacy php #19548 2018-03-29 17:04:31 +01:00
Mike Jolley 69a3a78a4c Typo 2018-03-29 16:46:11 +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
Frédéric Demarle ee2140944c add action woocommerce_before_delete_{$post_type} 2018-03-29 14:52:19 +02:00
Mike Jolley d12194fbe7 Only push to lightbox if image is found
Closes #19435
2018-03-29 11:18:35 +01:00
Mike Jolley 51d634e29a Ensure background process class returns `data` as an array
Fixes #19524
2018-03-29 11:09:41 +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
Mike Jolley cbbb84b268
Merge pull request #19564 from linkhousemedia/patch-1
Add oxford comma to dashboard intro text
2018-03-29 10:59:12 +01:00
linkhousemedia 874b7426af
Add oxford comma to dashboard intro text
Comma after "shipping and billing addresses" for the grammar lovers.
2018-03-29 00:04:30 -04: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
Claudio Sanches 5bec3b229f
Merge pull request #19527 from woocommerce/fix/19519
Use `get_variation_price` method in structured data to grab min/max so filters are ran.
2018-03-28 15:23:14 -03:00
Claudio Sanches 6b903cf4bf
Merge pull request #19529 from woocommerce/fix/incorrect-escaping
Fixes incorrect escaping
2018-03-28 14:33:43 -03:00
Claudio Sanches 9ab58dde47 Merge branch 'master' into fix/incorrect-escaping 2018-03-28 14:32:51 -03:00
nishitlangaliya b98b17eae8 span.wc-type and span.wc-type::before removed from admin.scss as per suggestion #18990 2018-03-28 23:00:43 +05:30
Claudio Sanches 376e51c9f1 Fixed PHPCS violations 2018-03-28 14:30:43 -03:00
Claudio Sanches 35b75b5beb
Merge pull request #19555 from woocommerce/update/19547-wp-cli-pagination
WP-CLI integration per_page default
2018-03-28 14:01:38 -03:00
bernat torras 47d85844d8 Added 'woocommerce_variable_product_before_variations' hook to variation tab 2018-03-28 16:02:06 +02:00