Commit Graph

24478 Commits

Author SHA1 Message Date
Boro Sitnikovski 4981d68b38 Add filter for script data 2017-12-06 11:03:16 +01:00
Jonathan Belcher 38984b03ce
Merge pull request #18026 from woocommerce/add/clear-addons-transients
Clear addons transients on update to 3.3.0
2017-12-05 14:41:21 -05:00
Jonathan Belcher d38a9e2af6
Change order of commands to make DB last 2017-12-05 14:39:37 -05:00
Claudiu Lodromanean 7e65200025
Merge pull request #18029 from woocommerce/fix/17923
[Importer] Get global attribute ID only when is a global attribute.
2017-12-05 11:30:13 -08:00
Claudio Sanches c07d039242 [Importer] Get global attribute ID only when is a global attribute.
Closes #17923
2017-12-05 16:55:56 -02:00
Claudiu Lodromanean 9d644e0852
Merge pull request #18012 from woocommerce/fix/18010-merge-persistant-session-carts
Merge session and persistent carts when both exists
2017-12-05 09:49:52 -08:00
Jonathan Belcher 51c66d7f7a
Remove automatic spacing changes made by my editor 2017-12-05 12:27:13 -05:00
Claudiu Lodromanean 87e1cf485d
Merge pull request #18022 from woocommerce/fix/17979
Return packages with no rates so shipping calculator is displayed.
2017-12-05 09:27:00 -08:00
Jonathan Belcher c39a181cb6 Clear addons transients on update to 3.3.0 2017-12-05 12:23:51 -05:00
Claudio Sanches a1fc8485df
Merge pull request #18025 from woocommerce/update-japanese-prefectures-coy
Spelling fix
2017-12-05 15:22:37 -02:00
John Coy a9baf47dc9 Spelling fix
Fixed Hokkaido Prefecture
2017-12-05 10:55:36 -06:00
Claudio Sanches 09dd86da1c
Merge pull request #18021 from woocommerce/fix/17974
wc_lostpassword_url should not be used before init
2017-12-05 13:20:25 -02:00
Claudio Sanches e60fe9973f
Merge pull request #18018 from woocommerce/update/admin-wording-tweaks
Admin wording tweaks
2017-12-05 13:18:29 -02:00
Mike Jolley 8f9bd7d0bf Return packages with no rates. 2017-12-05 15:00:07 +00:00
Mike Jolley 79e9464dc3 wc_lostpassword_url should not be used before init
Closes #17974
2017-12-05 14:25:24 +00:00
Mike Jolley 3e00533183 phpcs 2017-12-05 14:02:40 +00:00
Mike Jolley 5a5f179346 translators 2017-12-05 13:41:56 +00:00
Mike Jolley 4e7da70185 Update permalink setting text #17745 2017-12-05 13:40:40 +00:00
Mike Jolley 5a8cdb1ded Update wording for #17968 2017-12-05 13:31:42 +00:00
Mike Jolley 05e7eaae03 get_meta_data return array values
Closes #17997
2017-12-05 13:14:12 +00:00
Gerhard Potgieter 961a70965d PHPCS Fixes 2017-12-05 08:48:35 +02:00
Gerhard Potgieter ccb54faf0b When getting a cart from a session and there are contents as well as contents in the persistant cart, merge the two carts to avoid loosing the persistant cart content. 2017-12-05 08:45:52 +02:00
Claudio Sanches fec1997029 Fixed composer script for phpcbf 2017-12-04 14:44:39 -02:00
Mike Jolley 02bfeddf4b
Merge pull request #18002 from woocommerce/tweak/use-protected-methods
Use protected instead of private methods to allow easy override
2017-12-04 15:38:30 +00:00
Mike Jolley baccd85793
Merge pull request #17705 from woocommerce/feature/11259
Product backorder stock status
2017-12-04 14:17:32 +00:00
Mike Jolley 0a9485c465 Merge branch 'master' into feature/11259
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
#	includes/admin/list-tables/class-wc-admin-list-table-products.php
#	includes/class-wc-install.php
#	includes/wc-update-functions.php
2017-12-04 14:14:03 +00:00
Boro Sitnikovski 6c29d886ca Use protected instead of private methods to allow easy override 2017-12-04 15:10:35 +01:00
Mike Jolley 050ba6642f
Merge pull request #17928 from woocommerce/fix/selectwoofocus
Fix some focus issues in selectWoo
2017-12-04 13:55:17 +00:00
Mike Jolley 4b029f7252
Merge pull request #17814 from woocommerce/update/order-screen-refinements
Order screen + preview refinements
2017-12-04 13:46:52 +00:00
Mike Jolley d8921de735 min 2017-12-04 13:45:52 +00:00
Mike Jolley 5d42a64b73 Merge branch 'master' into update/order-screen-refinements 2017-12-04 13:44:27 +00:00
Gerhard Potgieter 3ed021241f
Merge pull request #17862 from davefx/patch-6
Add filters to mark terms in product list
2017-12-04 10:39:53 +02:00
David Marín 7660767aa7
Adding $termlist and $terms as parameters for the new filter 2017-12-04 09:34:10 +01:00
Claudiu Lodromanean 4443d473ab
Merge pull request #17965 from james-allan/complete_payment_using_manual_gateways
Mark $0 orders as payment complete when processing payments with core gateways
2017-12-01 10:21:01 -08:00
Claudiu Lodromanean 98365fcc3d
Merge pull request #17962 from woocommerce/fix/17925-1
Include 'product_url' in wc_get_customer_available_downloads() results
2017-12-01 10:17:27 -08:00
Claudiu Lodromanean 452fc69f1a
Merge pull request #17961 from woocommerce/fix/17957
Always save last viewed product ID into woocommerce_recently_viewed cookie
2017-12-01 10:14:54 -08:00
Claudio Sanches f2d2077c30
Merge pull request #17981 from ibndawood/master
Made common template functions pluggable
2017-12-01 14:12:11 -02:00
Ibrahim Ibn Dawood b1bef237d1 made function : woocommerce_template_loop_product_link_open, woocommerce_template_loop_product_link_close, woocommerce_template_loop_category_link_open, woocommerce_template_loop_category_link_close pluggable 2017-12-01 14:58:42 +05:30
Claudio Sanches bbc472d80d
Merge pull request #17548 from crstauf/add/webhook-status-action
Add action for webhook status change
2017-11-30 16:52:41 -02:00
Claudio Sanches 6c45659e68
Merge pull request #17956 from vyskoczilova/master
Add zipcode validation for Czech republic and Slovakia
2017-11-30 16:47:40 -02:00
Karolína Vyskočilová 54f9bfafa1
CZ/SK zip - exchange space for \s 2017-11-30 19:33:16 +01:00
Rodrigo Primo 99c724a6ad
Merge pull request #17958 from woocommerce/feature/composer-scripts
Introduces a few composer scripts for PHPUnit and PHP_CodeSniffer
2017-11-30 10:35:25 -02:00
James Allan f6eb02806b Mark orders as payment complete if the order total is 0
Similar to how other payment gateways like Stripe call
payment_complete on orders with $0 totals.
2017-11-30 13:31:10 +10:00
Claudiu Lodromanean 9e15022370
Merge pull request #17960 from woocommerce/fix/17940
Allow woocommerce_form_field() have 'custom_attributes' equal 0
2017-11-29 14:35:54 -08:00
Claudiu Lodromanean 0dd4e3e5f2
Merge pull request #17963 from woocommerce/fix/17957-1
Remove "wc_error" query string after login process
2017-11-29 14:32:58 -08:00
Claudio Sanches 41335ae9b5 Remove "wc_error" query string after login process
Closes #17957
2017-11-29 19:57:59 -02:00
Claudio Sanches da6c9c769a Include 'product_url' wc_get_customer_available_downloads() results
Also required to fix #17925
2017-11-29 19:49:54 -02:00
Claudio Sanches 777a004a1f Allow max of 15 products in Recent Viewed Products widget 2017-11-29 19:24:39 -02:00
Claudio Sanches 929eb48fcd Always save last viewed product ID into woocommerce_recently_viewed cookie
Currently if you already visited a product will not be listed at the top
of the "Recent Viewed Products" widget.

This happens because we only include new items if they are not already
in the list of viwed products.

This code changes a little the logic excluding the ID from viewed
products list and adding again.

Closes #17951
2017-11-29 19:21:04 -02:00
Claudio Sanches d438a68300 Allow woocommerce_form_field() have 'custom_attributes' equal 0
array_filter() by default will remove all null values, also 0 or false,
but if trying to declare something like array( 'min' => '0', 'max' =>
'10' ) this will be a problem. So including added strlen() as callback
function will allow keep some strings but still remove null and false
values.

Ref #17940
2017-11-29 18:45:44 -02:00