Commit Graph

28302 Commits

Author SHA1 Message Date
Diego Zanella ab3b6b5433 Fixed call to filter woocommerce_shipping_add_rate_args 2018-06-27 16:09:22 +01:00
Mike Jolley bf9d0ff053
Merge pull request #20634 from woocommerce/enhance/20626
Make it easier to customize products list table filters
2018-06-27 15:20:12 +01:00
Mike Jolley b838f3be4a
Merge pull request #20637 from woocommerce/fix/20616
Better phone number cleaning for wc_format_phone_number
2018-06-27 15:04:05 +01:00
Mike Jolley 1186a62d04
Merge pull request #20639 from woocommerce/pr/20622
Update Pr/20622 - conditionally add optional text to address 2 field
2018-06-27 10:33:06 +01:00
Mike Jolley 0e589f641e Allow string reuse by moving brackets outside of string. 2018-06-27 10:31:41 +01:00
Gerhard Potgieter 2df62edec1 Improve the replacement for wc_format_phone_number a bit more, seems like we allow spaces and plus signs, remove non visible unicode with seperate preg_replace 2018-06-27 09:37:44 +02:00
Gerhard Potgieter 7a3caa0608 This changes wc_format_phone_number to discard all characters except numbers and the + sign, not sure if + sign must be stripped but in the current version it was not stripping the + sign 2018-06-27 09:05:32 +02:00
claudiulodro 9fa038e1ab phpcs 2018-06-26 13:36:13 -07:00
claudiulodro 59356aa644 Make it easier to customize product filters 2018-06-26 13:31:57 -07:00
Claudiu Lodromanean 3bff14974c
Merge pull request #20629 from vishalkakadiya/fix/remove-unwanted-condition
Remove unwanted(double) condition for address line 2
2018-06-26 12:20:18 -07:00
Diego Zanella 25817b9236 Added new filters when adding shipping rates
Ref. https://github.com/woocommerce/woocommerce/issues/20632
2018-06-26 20:15:54 +01:00
Claudiu Lodromanean 0cd54b67c7
Merge pull request #20606 from woocommerce/refactor/order-again
Refactor "order again"
2018-06-26 12:10:55 -07:00
Chunkford 0d9bf1e19c
Update class-wc-discounts.php 2018-06-26 17:22:09 +01:00
Chunkford 469c8f2d10
Add filter to a coupon's user usage limit
I need to be able to mark a coupon as unlimited use per user if a certain criteria is met
2018-06-26 16:32:08 +01:00
vishalkakadiya d765ca9ec4 ISSUE-20621 Move space outside of the localised string 2018-06-26 20:30:29 +05:30
vishalkakadiya 95d7dc0933 ISSUE-20621 Address feedbacks 2018-06-26 19:18:29 +05:30
vishalkakadiya 9dea1e98db Merge branch 'master' into fix/issue-20621 2018-06-26 18:44:09 +05:30
vishalkakadiya dd14157682 ISSUE-20621 Add (optional) text on condition bases 2018-06-26 18:43:53 +05:30
vishalkakadiya c6fa14fe53 Remove unwanted(double) condition for address line 2 2018-06-26 18:21:29 +05:30
Mike Jolley a4e0ba2958 feedback 2018-06-26 13:49:57 +01:00
Mike Jolley d394dec5f2
Merge pull request #20591 from yratof/tweak/issue-20590
Wrapped 'FREE' with a filter to allow different use cases
2018-06-26 13:43:44 +01:00
Mike Jolley ed1cb59840
Merge pull request #20608 from woocommerce/fix/20594
Check if array index exists before using it
2018-06-26 13:39:46 +01:00
Mike Jolley 35a50e5617
Merge pull request #20586 from woocommerce/feature/add-tax-calc-filter
Add filter for tax calculation in cart totals
2018-06-26 13:39:21 +01:00
Mike Jolley fb85c7d057
Merge pull request #20547 from woocommerce/update/emogrifier-2.0
Update Emogrifier to 2.0
2018-06-26 13:38:48 +01:00
Mike Jolley 91738bc5a8
Merge pull request #20011 from woocommerce/update/19961
On the fly image generation for frontend
2018-06-26 13:37:37 +01:00
Gerhard Potgieter 4c54dedd9d Rredirect to shop page when product categories dropdown filter is cleared. 2018-06-26 11:54:04 +02:00
vishalkakadiya f282b4f126 ISSUE-20621 Remove (optional) text from Address line 2 field's placeholder 2018-06-26 00:10:47 +05:30
Claudiu Lodromanean d0491072e8
Merge pull request #17895 from woocommerce/update/use-post-author-for-customer-id
Use post_author instead of the post meta '_customer_user'
2018-06-25 11:23:59 -07:00
Gerhard Potgieter 345416312a Move selectwoo support to widget class to avoid it running on admin pages. 2018-06-25 15:58:18 +02:00
Rodrigo Primo f175e62286
Merge pull request #20549 from woocommerce/update/improve-layered-nav-performance
Improve WC_Query::get_layered_nav_chosen_attributes() performance
2018-06-25 09:35:21 -03:00
Andrew Lazarus d9c031d8c6
Removed whitespace to pass travis check 2018-06-25 13:24:07 +02:00
Mike Jolley ff8781a406
Merge pull request #20615 from rnaby/250618-121609
Log Abstract Class Methods Refactoring
2018-06-25 12:09:05 +01:00
Mike Jolley 525ea24160
Merge pull request #20614 from rnaby/250618-120045
@throws PHPDoc Fix
2018-06-25 12:07:44 +01:00
Mike Jolley 7fb101772f
Merge pull request #20610 from GlennMartin1/patch-4
fix typo
2018-06-25 12:07:19 +01:00
Gerhard Potgieter 664abe2015 Convert product categories widget to use selectWoo. 2018-06-25 12:25:16 +02:00
Andrew Lazarus c9e0055bdd
Refactored get_cart_shipping_total()
Refactored to pass all routes through filter, renamed the filter to match the function.
2018-06-25 11:17:08 +02:00
Khan M Rashedun-Naby cb945a8816 Specified where the Exception is coming from 2018-06-25 15:04:49 +06:00
Peter Fabian 8fd4777fb4 Fixed PHPCS whitespace. 2018-06-25 10:57:52 +02:00
Khan M Rashedun-Naby 71a0fc7f89 Log Abstract Class Methods Refactoring 2018-06-25 12:40:55 +06:00
Khan M Rashedun-Naby 21c5dacdb1 @throws PHPDoc Fix 2018-06-25 12:05:42 +06:00
Peter Fabian ef3d32699c Fixed missing key errors. 2018-06-23 13:55:42 +02:00
Peter Fabian 6ba409b772 Added category related unit tests for products API. 2018-06-23 13:54:36 +02:00
Peter Fabian 60cd5caac2 Fixed terms fetching bug introduced in #20079. 2018-06-23 13:53:50 +02:00
Peter Fabian 97983a2d45 Fixed missing terms in unit tests.
in teardown method, terms are deleted, so e.g. Uncategorized product_cat was only avaialble if test was run individually, not in the whole batch. Should now be fixed.
2018-06-23 13:50:31 +02:00
GlennMartin1 fdbefd436a
fix typo
change: "Active" to "Activate"
2018-06-22 15:29:14 -04:00
Andrew Lazarus 7eac354d3b
Added $this to the FREE filter to allow interaction with cart object 2018-06-22 16:03:57 +02:00
Andrew Lazarus b29036c08d
Updated filter naming convention for Free! 2018-06-22 16:00:28 +02:00
Rodrigo Primo e6c1ab38a8 Fix PHPCS error 2018-06-22 10:31:42 -03:00
Rodrigo Primo b917522160 typo 2018-06-22 10:13:12 -03:00
Rodrigo Primo df3306084e Check if array index exists before using it
WC_Geolite_Integration::get_country_iso() sometimes returns null instead of an array, so this commit adds a check to account for that possibility before using the returned value. Doing this to prevent the following undefined index notice:

PHP Notice: Undefined index: country in wp-content/plugins/woocommerce/includes/class-wc-geolite-integration.php on line 60

Fixes #20594
2018-06-22 10:13:12 -03:00