Commit Graph

26060 Commits

Author SHA1 Message Date
Rodrigo Primo 66911be455 Fix PHPCS violations in includes/cli/class-wc-cli-runner.php 2018-03-06 09:20:58 -03:00
Rodrigo Primo 70a03e6dfa Fix PHPCS violations in includes/cli/class-wc-cli-rest-command.php 2018-03-06 09:07:33 -03:00
Rodrigo Primo 57ae5d8150 WooCommerce CLI commands use anonymous functions
Contrary to the rest of the WC codebase, WC CLI commands require PHP >= 5.5 and use anonymous functions. This commit excludes the PHPCombatibility rule for anonymous functions (PHPCompatibility.PHP.NewClosure.Found) when PHPCS is checking the `includes/cli` directory.
2018-03-06 08:46:28 -03:00
Rodrigo Primo b6674b3a8f Replace calls to json_decode() with wp_json_decode() 2018-03-06 08:18:31 -03:00
Rodrigo Primo 82f99c4042 Don't check for PHPCompatibility.PHP.NewFunctions.array_columnFound in the includes/cli directory
WooCommerce CLI commands use array_column() which was added in PHP 5.5. Since this was not noticed until now it is probably not worth changing and making the code compatible with PHP < 5.5.
2018-03-06 08:12:37 -03:00
Rodrigo Primo 557e85c1d6 Don't check for PHPCompatibility.PHP.NewLanguageConstructs.t_ns_separatorFound in the includes/cli directory
WooCommerce CLI commands require PHP >= 5.3 so namespace separators can be used in the code.
2018-03-06 08:02:01 -03:00
Rodrigo Primo 44a5903ce6 Fix PHPCS violations in includes/cli using phpcbf
Fix all violations that phpcbf can fix automatically.
2018-03-05 16:46:54 -03:00
Mike Jolley 58c87e3fcd
Merge pull request #19148 from woocommerce/tweak/post-processing-custom-coupons
Add filter to allow post processing on custom coupons
2018-03-05 19:18:04 +00:00
Mike Jolley d5a6b4fec1
Merge pull request #19228 from Chunkford/patch-5
Add filter to a coupon's expiry date check
2018-03-05 19:07:01 +00:00
Mike Jolley 66ad22e3fa
Merge pull request #19128 from woocommerce/fix/19123-cli-term-ids
Use correct arg when making rest request in cli
2018-03-05 18:39:48 +00:00
Mike Jolley 73c85ec38d
Merge pull request #19173 from woocommerce/update/19154
Move jquery ui styles to assets
2018-03-05 18:35:46 +00:00
Mike Jolley 838a4bbea3 Remove unused variable 2018-03-05 18:35:07 +00:00
Claudiu Lodromanean b6c1a9d2c1
Merge pull request #19220 from woocommerce/fix/19218
Only append tax label if taxes are enabled
2018-03-05 09:26:10 -08:00
Claudio Sanches 197e16269d
Merge pull request #19248 from woocommerce/fix/phpcs-hackweek
Make PHPCS pass for all abstract classes
2018-03-05 12:55:33 -03:00
Gerhard Potgieter 5075fb4964 PHPCS passing for abstract-wc-widget.php 2018-03-05 15:21:04 +02:00
Gerhard Potgieter 17f013b5b1 PHPCS passing for abstract-wc-shipping-method.php 2018-03-05 15:08:55 +02:00
Gerhard Potgieter f56c6366c1 PHPCS passing for abstract-wc-settings-api.php 2018-03-05 15:01:21 +02:00
Gerhard Potgieter d968621afb PHPCS passing for abstract-wc-session.php 2018-03-05 15:00:52 +02:00
Gerhard Potgieter ba1e7d1e99 PHPCS passing for abstract-wc-rest-shipping-zones-controller.php 2018-03-05 14:59:35 +02:00
Gerhard Potgieter 74ec8a4a14 PHPCS passing for abstract-wc-rest-posts-controller.php 2018-03-05 14:58:28 +02:00
Gerhard Potgieter fb3afa672d PHPCS passing for abstract-wc-rest-crud-controller.php 2018-03-05 14:55:17 +02:00
Gerhard Potgieter 5dcfeac7c1 PHPCS passing abstract-wc-rest-controller.php 2018-03-05 14:52:49 +02:00
Gerhard Potgieter 7f2362aab1 PHPCS passing abstract-wc-product.php 2018-03-05 14:46:34 +02:00
Gerhard Potgieter cb87a0ee54 PHPCS passing for abstract-wc-payment-token.php 2018-03-05 13:54:54 +02:00
Gerhard Potgieter 940ab475d4 PHPCS passing for abstract-wc-payment-gateway.php 2018-03-05 13:48:54 +02:00
Gerhard Potgieter 440358a4f2 PHPCS passing for abstract-wc-order.php 2018-03-05 13:41:04 +02:00
Gerhard Potgieter 9fd043eaea PHPCS passing for abstract-wc-object-query.php 2018-03-05 13:39:05 +02:00
Gerhard Potgieter b3c998b0cd PHPCS passing for abstract-wc-long-handler 2018-03-05 13:36:56 +02:00
Gerhard Potgieter 41958de93d PHPCS passing for abstract-wc-integration.php 2018-03-05 13:34:38 +02:00
Gerhard Potgieter 42978bb031 PHPCS passing for abstract-wc-data.php 2018-03-05 13:29:18 +02:00
Mike Jolley ab9389ec83
Merge pull request #19110 from woocommerce/feature/18056
Remember importer mappings
2018-03-03 17:22:48 +00:00
Mike Jolley 46ab27e4e8
Merge pull request #18820 from alexmacarthur/pii-removal
PII Issue Prevention - Remove user login from reset password link.
2018-03-03 17:19:55 +00:00
Chunkford dce96daa84
Add filter to a coupon's expiry date check
I need the ability (and hopefully others now or in the future) to intercept the expiry date check for a coupon.
This pull request offers that ability.
2018-03-03 11:46:14 +00:00
Mike Jolley a869f896bf
Merge pull request #19166 from woocommerce/tweak/coupon-price-ui
Improve UI on Coupon amount in cart
2018-03-02 19:26:48 +00:00
Mike Jolley a3dac6f1e2
Merge pull request #19191 from woocommerce/fix/19181
KSES instead of escaping of download names
2018-03-02 19:23:29 +00:00
Mike Jolley f9c42c620d
Merge pull request #19177 from woocommerce/update/19009
Add outline to T&C box on the checkout page
2018-03-02 19:23:09 +00:00
Claudio Sanches d822076115
Merge pull request #19201 from danielshields/patch-1
Fix the PayPal API URL
2018-03-02 16:02:48 -03:00
Mike Jolley 57cfa72d99 Only append tax label if taxes are enabled 2018-03-02 16:22:54 +00:00
Claudiu Lodromanean 079edc9ca6
Merge pull request #19204 from woocommerce/update/prodshortcod
New shortcode features for products block
2018-03-01 15:05:04 -08:00
Claudiu Lodromanean 62a823dadf
Merge pull request #19171 from woocommerce/update/19145
Improve store notice customizer handling
2018-03-01 10:54:11 -08:00
claudiulodro 8cf36aa0d2 New shortcode features for products block 2018-03-01 10:05:22 -08:00
danielshields e2da7fd277
Fix the PayPal API URL
Assuming they changed the section title, as the permalink is now "create" vs "creating"
2018-03-01 12:30:38 -05:00
Mike Jolley 1f16ad0a03
Merge pull request #18483 from woocommerce/update/16912
Set shipping method ID and instance ID
2018-03-01 16:46:38 +00:00
Mike Jolley b4579bb502 Merge branch 'master' into update/16912 2018-03-01 16:38:04 +00:00
Claudio Sanches b94aac2d46
Merge pull request #19187 from woocommerce/fix/terms-notice-trashed-page
Only show T&C's notice if there is a valid T&Cs page
2018-03-01 11:22:59 -03:00
Mike Jolley bec084ac16
Merge pull request #18493 from liquidweb/tests/api-system-status
Add tests for the "add_order_indexes" system status tool
2018-03-01 12:03:29 +00:00
Mike Jolley 8faedcb849
Merge pull request #18489 from liquidweb/tests/reports
Add tests around order reporting
2018-03-01 12:02:59 +00:00
Mike Jolley aca0662839 KSES instead of escaping of download names
Fixes #19181
2018-03-01 10:37:39 +00:00
Caleb Burks 0568470bb8 Only show T&C's notice if there is a valid T&Cs page 2018-02-28 21:58:34 -05:00
Claudio Sanches ffd7915d49 Make sure that option is an array 2018-02-28 16:46:52 -03:00