Commit Graph

25045 Commits

Author SHA1 Message Date
Rodrigo Primo 5f0e722ca4 Fix PHPCS violations in includes/wc-update-functions.php 2017-11-23 12:17:21 -02:00
Rodrigo Primo de5a21dcb0 Fix PHPCS violations in includes/class-wc-install.php 2017-11-23 12:16:47 -02:00
Rodrigo Primo e12fa54bc6 phpcbf automatic coding standard fixes 2017-11-23 12:16:47 -02:00
Claudio Sanches 82e803ba76
Merge pull request #17893 from woocommerce/update/phpcs-disable-more-vip-rules
Exclude two more PHPCS VIP rules
2017-11-23 12:08:29 -02:00
Rodrigo Primo 322619cdc5 Exclude two more PHPCS VIP rules 2017-11-23 12:06:00 -02:00
Claudio Sanches bdcc8a28f9
Merge pull request #17892 from woocommerce/update/phpcs-remove-some-vip-rules
Remove three PHPCS VIP rules that don't apply to WooCommerce
2017-11-23 11:45:21 -02:00
Rodrigo Primo f5d2a1d98b Remove three PHPCS VIP rules that don't apply to WooCommerce
This commit removes the following PHPCS VIP rules:

- WordPress.VIP.DirectDatabaseQuery.NoCaching
- WordPress.VIP.DirectDatabaseQuery.SchemaChange
- WordPress.VIP.FileSystemWritesDisallow.file_ops_fwrite
2017-11-23 11:41:31 -02:00
Mike Jolley ee08983e5e
Merge pull request #17890 from rodrigoprimo/update/remove-xdebug-from-php-5-3-build
Further improve the speed of the Travis build
2017-11-23 13:24:51 +00:00
Mike Jolley 85cd9647df
Merge pull request #17871 from ragulka/delete-refund-on-exception
Ensure refund is deleted when exception is thrown during wc_create_refund()
2017-11-23 13:06:40 +00:00
Mike Jolley b7d8d63c3d
Merge pull request #17870 from woocommerce/update/bump-wp-version
Bump "Requires at least" version
2017-11-23 11:52:48 +00:00
The Dramatist 8ac49d448b Unused parameter removed form get_filters method of WC_Helper class. (#17888) 2017-11-23 11:49:12 +00:00
David Marín 654a036f1a
Added third parameter with taxonomy to filter call 2017-11-23 12:43:37 +01:00
David Marín 50f3db7693
Changed filter so it receives the array instead of the final imploded string 2017-11-23 12:40:00 +01:00
Mike Jolley 5a4e85b5f5 Tweak total_comments 2017-11-23 11:17:23 +00:00
Rodrigo Primo 4fea2eb211 Disable Xdebug before calling composer 2017-11-23 09:13:09 -02:00
Mike Jolley 6ef391666f Only remove base taxes in cart totals class if item is taxable
Fixes #17880
2017-11-23 11:08:10 +00:00
Rodrigo Primo 51867ac7c3 Remove Xdebug from PHP 5.3 Travis build job as well 2017-11-23 09:06:08 -02:00
Shiva Poudel a0215d85da Txn clickable (#17878)
* Make transactional link clickable

* Oops, fix in modal tmpl
2017-11-23 10:18:23 +00:00
urosmil 18e7b25eab Filter for line items in abstract-wc-order.php (#17759)
* Filter for line items in abstract-wc-order.php

When creating custom product class there are places where line items is only value that can be handled. This is one of that places causing subtotal values after checkout not to be calculated and displayed.

* Extension to woocommerce_order_get_items filter

This is extension to filter as get_items() is used for different classes and types. This way it would be possible to distinct which type is called for items.

* Removed filtering inside subtotal function

$types parameter is added as parameter for filter inside get_items() function so previous commit is reverted as there is no need for it.
2017-11-23 10:00:03 +00:00
David Marín 55972f4623
Changing the filter name to 'admin_term_links' 2017-11-23 09:33:55 +01:00
Claudiu Lodromanean 9a95441c61
Merge pull request #17872 from woocommerce/fix/17508
Properly handle deprecated hooks
2017-11-22 14:34:15 -08:00
claudiulodro a878b0cde5 Some phpcs 2017-11-22 14:03:26 -08:00
claudiulodro 7e52af8b9a Fix logic 2017-11-22 11:57:59 -08:00
claudiulodro ee445b6ee5 Importer/Exporter backorder compatibility 2017-11-22 11:48:19 -08:00
claudiulodro 5513dc4546 Update with master 2017-11-22 11:02:14 -08:00
Claudio Sanches bf42bfeb93 Fixed unit tests 2017-11-22 17:00:02 -02:00
Claudio Sanches e7fdae243a
Merge pull request #17874 from woocommerce/fix/17873
Fix legacy API include paths
2017-11-22 16:32:48 -02:00
claudiulodro 32347c5470 Fix legacy API include paths 2017-11-22 10:28:02 -08:00
Claudio Sanches 1034a4bd38
Merge pull request #17867 from woocommerce/update/17851
Use an action/option rather than cron to queue rule flushing
2017-11-22 16:11:47 -02:00
Claudio Sanches 1f156620e3
Merge pull request #17866 from woocommerce/fix/17850
Confirm navigation if nonce has expired in reports.
2017-11-22 16:09:38 -02:00
Claudio Sanches 4b5f0c98d7 Fixed coding standards 2017-11-22 15:25:27 -02:00
Claudio Sanches 69c8a87f41 Display correct deprecated version for hooks 2017-11-22 15:21:32 -02:00
Claudio Sanches 11772ca015 Fixed coding standards 2017-11-22 14:55:12 -02:00
Claudio Sanches d27410eacc Introduced new wc_deprecated_hook function as alias to _deprecated_hook 2017-11-22 14:47:22 -02:00
Mike Jolley 3773b81bc9 Merge branch 'master' into update/order-screen-refinements
# Conflicts:
#	includes/admin/meta-boxes/views/html-order-item.php
2017-11-22 16:32:34 +00:00
Mike Jolley f0cbaf08b1 Clickable transaction IDs 2017-11-22 16:31:27 +00:00
Mike Jolley 29fed057af Mobile styling 2017-11-22 16:28:11 +00:00
Mike Jolley b3e7260c95 Improve styling of order actions columns 2017-11-22 16:14:30 +00:00
Claudio Sanches 4fb3624604 Fixed coding standards 2017-11-22 14:13:59 -02:00
ragulka 4f2e1ee8d4 Ensure refund is deleted when exception is thrown during wc_create_refund 2017-11-22 17:03:58 +01:00
Claudio Sanches 21833d797b Updated "Tested up to" and "Requires at least" 2017-11-22 13:58:26 -02:00
Claudio Sanches d39a034f14 Drop support for legacy WP versions 2017-11-22 13:55:48 -02:00
Claudio Sanches 39e27196c4
Merge pull request #17853 from rodrigoprimo/fix/run-phpcs-only-once
Don't run PHPCS on the code coverage Travis job
2017-11-22 12:16:34 -02:00
David Marín d1274acd02
Changing filter so it applies to the full list 2017-11-22 14:01:34 +01:00
Mike Jolley 2795a3399b
Merge pull request #17868 from ahmedofali/master
fixing typo replace add to cart to be remove from cart
2017-11-22 12:51:17 +00:00
Ahmed Ali d8050f99b1 fixing typo replace add to cart to be remove from cart 2017-11-22 14:33:21 +02:00
Claudio Sanches 37af420cfe
Merge pull request #17864 from woocommerce/update/17860
Add precision after multiplying quantity
2017-11-22 10:31:17 -02:00
Mike Jolley 39e86db7a7 Use an action/option rather than cron to queue rule flushing
Closes #17851
2017-11-22 11:39:57 +00:00
Mike Jolley 2b1243ea04 Confirm navigation if nonce has expired in reports.
Closes #17850
2017-11-22 11:30:22 +00:00
Mike Jolley 90535fee36 Exclude spam comments from counts
Fixes #17852
2017-11-22 11:02:02 +00:00