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
4f18567e74
Remove unused code from WC_CLI_REST_Command class
...
This commit removes three unused methods and one unused property from the WC_CLI_REST_Command class that I found while fixing PHPCS violations in the includes/cli directory.
2018-03-06 08:58:32 -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
Mike Jolley
ad709e940f
Merge pull request #19241 from digitalchild/shipping-calculator
...
Add Shipping Calculator State filter
2018-03-06 10:54:09 +00:00
Amritansh_tact9
da5e31ce2c
Updated WC_Product_Variable::get_available_variation() to handle cases when variation ID provided is deleted/invalid. Throwing PHP fatal error on the next line where $variation->get_price()
2018-03-06 16:10:49 +05:30
Gerhard Potgieter
87c30fd228
PHPCS passing for class-wc-webhook-data-store-interface.php
2018-03-06 12:00:33 +02:00
Gerhard Potgieter
754df69994
PHPCS passing for class-wc-shipping-zone-data-store-interface.php
2018-03-06 11:59:23 +02:00
Gerhard Potgieter
4c6e954c8e
PHPCS passing for class-wc-product-variable-data-store-interface.php
2018-03-06 11:56:07 +02:00
Gerhard Potgieter
936df3e1bb
PHPCS passing for class-wc-product-data-store-interface.php
2018-03-06 11:53:40 +02:00
Gerhard Potgieter
e933b8cfd0
PHPCS passing for class-wc-payment-token-data-store-interface.php
2018-03-06 11:49:02 +02:00
Gerhard Potgieter
00193f5ee4
PHPCS passing for class-wc-order-refund-data-store-interface.php
2018-03-06 11:46:27 +02:00
Gerhard Potgieter
7cd7b18bb3
PHPCS passing for class-wc-order-item-type-data-store-interface.php
2018-03-06 11:45:29 +02:00
Gerhard Potgieter
1a2b44f2d3
PHPCS passing for class-wc-order-item-product-data-store-interface.php
2018-03-06 11:43:37 +02:00
Gerhard Potgieter
c354b93091
PHPCS passing for class-wc-order-item-data-store-interface.php
2018-03-06 11:42:03 +02:00
Gerhard Potgieter
e504022c72
PHPCS passing for class-wc-order-data-store-interface.php
2018-03-06 11:38:03 +02:00
Gerhard Potgieter
42c5e183cd
PHPCS passing for class-wc-object-data-store-interface.php
2018-03-06 11:34:16 +02:00
Gerhard Potgieter
96cbebb06b
PHPCS passing for class-wc-logger-interface.php
2018-03-06 10:23:28 +02:00
Gerhard Potgieter
1ba9f86001
PHPCS passing for class-wc-log-handler-interface.php
2018-03-06 10:21:27 +02:00
Gerhard Potgieter
8d2cb4850b
PHPCS passing for class-wc-importer-interface.php
2018-03-06 10:19:31 +02:00
Gerhard Potgieter
37eacc2585
PHPCS passing for class-wc-customer-download-log-data-store-interface.php
2018-03-06 10:18:33 +02:00
Gerhard Potgieter
2ed9993599
PHPCS passing for class-wc-customer-download-data-store-interface.php
2018-03-06 10:17:25 +02:00
Gerhard Potgieter
993d9cd232
PHPCS passing for class-wc-customer-data-store-interface.php
2018-03-06 10:14:45 +02:00
Gerhard Potgieter
17b6c78d00
PHPCS passing for class-wc-coupon-data-store-interface.php
2018-03-06 10:13:06 +02:00
Gerhard Potgieter
10d1c7f623
PHPCS passing for class-wc-abstract-order-data-store-interface.php
2018-03-06 10:08:42 +02:00
Gerhard Potgieter
85636f8fe7
PHPCS passing for abstract-wc-product-importer.php
2018-03-06 10:04:37 +02:00
Gerhard Potgieter
38892f3067
PHPCS passing for abstract-wc-csv-exporter.php
2018-03-06 07:55:15 +02:00
Gerhard Potgieter
1c191688f8
PHPCS passing for abstract-wc-batch-exporter.php
2018-03-06 07:52:03 +02:00
Gerhard Potgieter
b4ec1d372c
PHPCS passing for class-wc-customizer-controll-cropping.php
2018-03-06 07:31:20 +02:00
digitalchild
14ac7736a3
Fixed: Matched indentation of other filters
2018-03-06 11:23:58 +07:00
Mike Jolley
c2519e9d7d
Merge pull request #18921 from woocommerce/update/18389-wizard-steps-improvements
...
Wizard: Going back and next steps
2018-03-05 22:07:51 +00:00
Mike Jolley
882d009002
Swap underline to hover state
2018-03-05 22:06:51 +00:00
Mike Jolley
88c7c1333b
No back links, better link styling
2018-03-05 21:59:32 +00:00
Jon Brown
e6f2126b11
opps... not DRY
...
Photon check should probably should be abstracted, but this works for now
2018-03-05 11:08:40 -10:00
Claudio Sanches
e8017e985b
Fixed coding standards issues with PHPCBF
2018-03-05 17:53:06 -03:00
Jon Brown
5f58414829
Merge pull request #1 from jb510/jb510-patch-1
...
Checking class exists is insufficient allows for a fatal error when J…
2018-03-05 12:30:46 -08:00
Jon Brown
87695bddb7
Checking class exists is insufficient allows for a fatal error when Jetpack class is defined without specific method
...
There are a half dozen stripped-down versions of JetPack's modules like JP Custom CSS, JP Widget visibility, etc... these all define a class called "Jetpack" but don't define all the methods.
2018-03-05 10:30:05 -10:00
Mike Jolley
1536d50824
Merge branch 'master' into update/18389-wizard-steps-improvements
2018-03-05 20:24:26 +00:00
Claudio Sanches
b2392aadb9
Use short ABSPATH check in i18n
2018-03-05 17:10:12 -03:00
Claudio Sanches
4a9c4be1a2
Fixed i18n/states/TH.php version
2018-03-05 17:06:40 -03:00
Mike Jolley
3940a7ed16
Merge pull request #19219 from woocommerce/fix/19212
...
Remove translations from Thailand states file
2018-03-05 20:04:06 +00:00
Mike Jolley
48100059e4
Merge branch 'master' into fix/19212
2018-03-05 20:03:08 +00:00
Mike Jolley
50ddea967b
Merge pull request #19254 from woocommerce/update/i18n-phpcs
...
Fixed PHPCS violations on i18n directory
2018-03-05 20:01:51 +00:00
Mike Jolley
46862deb17
wc_get_cart_item_data_hash function
2018-03-05 19:57:57 +00: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
Claudio Sanches
869fb52927
Merge pull request #19253 from woocommerce/includes-admin-phpcs-fixes
...
Use phpcbf to fix coding standard violations in includes/admin
2018-03-05 16:46:52 -03:00
Claudio Sanches
d43cd90cb3
Fixed PHPCS violations on i18n directory
2018-03-05 16:44:56 -03:00
Sofyan Sitorus
7d04431571
Add contional check to compare cart item date_modified with product date_modified
2018-03-05 19:42:11 +00:00