Commit Graph

26099 Commits

Author SHA1 Message Date
Steve Grunwell 553aede081 Use strict comparison in test_wc_coupons_enabled() 2018-01-22 04:11:02 +00:00
Steve Grunwell 031469f643 Remove an unused variable in the test 2018-01-22 04:10:38 +00:00
Steve Grunwell 21771ebbd3 Ensure that WP_Coupon instances are instantiated with parentheses 2018-01-22 04:10:14 +00:00
Steve Grunwell 7cb8f46b0a *WHITESPACE ONLY* Equal sign and arrow alignment 2018-01-22 04:06:42 +00:00
Steve Grunwell 2ffb8c8481 Exclude tests/e2e-tests/ from the PEAR.Functions.FunctionCallSignature.EmptyLine sniff, or risk a ton of 'Empty lines are not allowed in multi-line function calls' errors. 2018-01-22 03:42:05 +00:00
Steve Grunwell 0766ed6ff7 Fix (or whitelist) coding standards violations in the test bootstrap file 2018-01-22 03:34:13 +00:00
Steve Grunwell bb5417c102 require_once is a language construct, not a function, and thus doesn't require parentheses. 2018-01-22 03:24:52 +00:00
Steve Grunwell 3f7034602f Don't enforce filename or inline commenting standards against the tests/ directory 2018-01-22 03:23:48 +00:00
Shohei Tanaka e05a3723d2
Correction of English spelling of prefectures
Correction of English spelling of prefectures and addition of explanatory text.

Reference site
https://en.wikipedia.org/wiki/Prefectures_of_Japan
http://www.post.japanpost.jp/int/use/writing/ems.html
* please check [tokyo] spell at image for EMS.

I will edit the prefectures on translate file at translate.wordpress.org.
2018-01-22 06:23:30 +09:00
Paul Dechov 0eebd2b72a Update payment gateway default enabled state in tests 2018-01-19 17:42:17 -05:00
Claudiu Lodromanean 62c4cbb0c8
Merge pull request #18487 from woocommerce/fix/18476
Fix tab corner offset
2018-01-19 13:33:35 -08:00
Konstantin Kovshenin 9a496e5d88 Helper: Fix some code problems in the connection prompt.
* Use `wc_get_screen_ids()` instead of hard-coding a list.
* Use the `$strict` param in `in_array()`
* Run the WooCommerce string through l10n to make sure we target the correct screen in non-English installs
2018-01-19 20:58:36 +03:00
Mike Jolley 2e88b98068 border box to fix 2012 2018-01-19 16:16:56 +00:00
Mike Jolley aa87aa0fbd phpcs 2018-01-19 15:42:48 +00:00
Mike Jolley d1269ce74f Add transient cache so we know if an order needs processing. 2018-01-19 15:14:00 +00:00
Mike Jolley 24efb439fb Order items should only save changes. 2018-01-19 14:36:08 +00:00
Rodrigo Primo 89119f89ff
Merge pull request #18529 from bsessions85/fix/e2e-CI-branch
Update install script to account for forked branch
2018-01-19 11:38:06 -02:00
Mike Jolley 70e92302f5 Refactor woocommerce_wp_select so it could be used for a multiselect 2018-01-19 13:36:14 +00:00
Mike Jolley f6e0593d47 Prevent grouped products showing when the type is variable 2018-01-19 12:20:27 +00:00
Mike Jolley ff7716509e
Merge pull request #18532 from woocommerce/fix/18527-numeric-username-lookup
Ajax customer search to cater for numeric usernames
2018-01-19 10:36:26 +00:00
Gerhard Potgieter 15e77b30a1
Merge pull request #18500 from woocommerce/tweak/pay-order-stock-filter
Allow stock to be overriden by filter when paying for orders
2018-01-19 10:15:58 +02:00
Gerhard Potgieter 4ef8251750
Merge pull request #18491 from woocommerce/update/helper-text
Updates Helper text to be correct
2018-01-19 10:13:15 +02:00
Gerhard Potgieter 8e6afdfdc7 Fix indentation 2018-01-19 09:57:27 +02:00
Gerhard Potgieter b495e803e8 Reworks the ajax user lookup so it caters for numeric usernames without affecting performance of lookups by ID. 2018-01-19 09:52:05 +02:00
Paul Dechov 54fa85f388 Disable all payment gateways by default
Switches defaults for Check payments and PayPal Standard to 'no', so that no payment gateways are enabled by default before running through setup wizard.
2018-01-19 02:23:55 -05:00
Steve Grunwell 4d6a0ecb82 Merge branch 'master' into feature/post-system-status-tool-hook 2018-01-18 21:54:47 +00:00
Brent Sessions a01270f392 Rearranging some variables 2018-01-18 12:36:22 -08:00
Brent Sessions 45bf9d6805 Update install script to account for forked branch 2018-01-18 12:26:46 -08:00
Rodrigo Primo 250b94b0ce
Merge pull request #18524 from woocommerce/fix/18510
Saving taxes should invalidate caches.
2018-01-18 16:55:55 -02:00
Steve Grunwell 6aeba1d72a Instead of testing the output of the message, verify that the postmeta fields are being re-created. 2018-01-18 18:52:57 +00:00
Rodrigo Primo 257feb63bd Fix doc typo 2018-01-18 16:50:27 -02:00
Brent Sessions e372d55a3c Run e2e tests on Travis builds (#18374) 2018-01-18 16:42:19 -02:00
Rodrigo Primo 54e013d5ca
Merge pull request #18492 from woocommerce/update/18447
Clear persistent cart with system status tool
2018-01-18 16:25:02 -02:00
Claudiu Lodromanean 1d3a9be376
Merge pull request #18521 from woocommerce/fix/18503
Move customer CSS rule below System.
2018-01-18 09:57:02 -08:00
Claudiu Lodromanean ef14d85d7d
Merge pull request #18520 from woocommerce/fix/18498
Fix cart ajax triggers
2018-01-18 09:53:53 -08:00
Claudiu Lodromanean ee2a562cf0
Merge pull request #18517 from woocommerce/fix/18499
Fix undefined var.
2018-01-18 09:50:53 -08:00
Claudiu Lodromanean b6204fb7aa
Merge pull request #18518 from tyrann0us/patch-1
Remove legacy "view" key from register_post_type()
2018-01-18 09:48:31 -08:00
Mike Jolley a110180643 Saving taxes should invalidate caches. 2018-01-18 17:47:26 +00:00
Claudiu Lodromanean 2667a064d6
Merge pull request #18515 from franticpsyx/add_html_order_preview_item_class_filter
[3.3-rc] Add `woocommerce_admin_html_order_preview_item_class` filter in order previews
2018-01-18 09:47:12 -08:00
Steve Grunwell 90c1a310f1 For consistency with the other endpoints, rename the 'woocommerce_rest_system_status_tool_executed' hook to 'woocommerce_rest_insert_system_status_tool'.
Reference: https://github.com/woocommerce/woocommerce/pull/18505#pullrequestreview-89828432
2018-01-18 16:59:47 +00:00
Mike Jolley 01cb238adb Move customer CSS rule below System.
CSS needs minifying before release
2018-01-18 16:54:22 +00:00
Claudiu Lodromanean 673546b7e0
Merge pull request #18504 from bekarice/fix/order-modal-styles
Fix: handle long status names in order modal
2018-01-18 08:35:15 -08:00
Mike Jolley 1fc6155167 Fix cart ajax triggers
Closes #18498
2018-01-18 16:31:17 +00:00
Philipp Bammes fecc0d00fd
Remove legacy "view" key from register_post_type() 2018-01-18 16:59:53 +01:00
Mike Jolley c618895ece Fix undefined var. Closes #18499 2018-01-18 15:25:27 +00:00
Manos Psychogyiopoulos e77ec2444e Add woocommerce_admin_html_order_preview_item_class filter
For parity with woocommerce_admin_html_order_item_class filter in html-order-item.php view.
2018-01-18 16:57:51 +02:00
Konstantin Kovshenin 3c3077d305 Helper: Prompt a Helper connection only on relevant screens.
Fixes #18452
2018-01-18 12:28:00 +03:00
Gerhard Potgieter f48985095b Update image galery to use CRUD and not directly meta_data calls 2018-01-18 11:10:26 +02:00
Steve Grunwell cc91fba4f8 *WHITESPACE ONLY* Clean up whitespace in the WC_REST_System_Status_Tools_Controller file, according to WordPress coding standards 2018-01-17 22:33:58 +00:00
Steve Grunwell 86c449accf Add missing hard-stops and parentheses for new objects being instantiated, enabling tests/unit-tests/api/system-status.php to pass coding standard checks 2018-01-17 22:13:57 +00:00