Commit Graph

25370 Commits

Author SHA1 Message Date
Mike Jolley 8ffa1c2d36
Merge pull request #18551 from liquidweb/standards/test-cleanup
Coding standards cleanup, primarily for the coupon unit tests
2018-01-22 15:45:38 +00:00
Mike Jolley 6389f1af9a Merge branch 'fix-18452' 2018-01-22 15:43:32 +00:00
Mike Jolley 02ebd8f2ee Coding standards 2018-01-22 15:43:23 +00:00
Boro Sitnikovski af9441fea5 Add action to hook onto for order recalculation 2018-01-22 15:53:42 +01:00
Mike Jolley b9a4a342e6 Remove the lone price/label/quantity class in grouped template
Closes #18542
2018-01-22 14:27:46 +00:00
Mike Jolley b82dbb6354 Update fragment when removing from cart
Closes #18548
2018-01-22 10:50:57 +00:00
Steve Grunwell 183c1e9f9f Add 'public' visibility declarations to coupon test methods 2018-01-22 04:13:13 +00:00
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
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 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
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
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
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
Beka Rice e270609e33 Fix: handle long status names in order modal 2018-01-17 16:28:59 -05:00
Claudiu Lodromanean dbb6e2716d
Merge pull request #18497 from woocommerce/update/setup-wizard-activate-but-disable-ppec-by-default
Setup wizard: activate but don't enable PPEC by default
2018-01-17 11:31:55 -08:00
Paul Dechov 3dee78ea54 Tweak variable name 2018-01-17 12:43:44 -05:00