Rodrigo Primo
ba563b8ec0
Fix PHPCS violations in includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
2018-03-06 10:44:35 -03:00
Rodrigo Primo
85e01565e0
Fix PHPCS violations in includes/admin/plugin-updates/class-wc-updates-screen-updates.php
2018-03-06 10:34:18 -03:00
Rodrigo Primo
95b14b3674
Merge branch 'master' into fix/includes-cli-phpcs-violations
2018-03-06 10:32:56 -03:00
Rodrigo Primo
7cd28774b1
Merge pull request #19266 from woocommerce/fix/phpcs-import
...
PHPCS fixes for import and interface directories
2018-03-06 10:10:45 -03:00
Rodrigo Primo
cd90c9bbc8
Fix PHPCS violations in includes/cli/class-wc-cli-update-command.php
2018-03-06 09:28:29 -03:00
Rodrigo Primo
8eb32d2c8c
Fix PHPCS violations in includes/cli/class-wc-cli-tool-command.php
2018-03-06 09:24:47 -03:00
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
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