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
Claudio Sanches
d9da796f11
Introduces a few composer scripts for PHPUnit and PHP_CodeSniffer
2017-11-29 18:10:54 -02:00
Claudio Sanches
5e2628c06b
REST API v2 webhooks CRUD implementation
2017-11-29 18:08:08 -02:00
Jonathan Belcher
9983352d60
Account for user searching on featured tab
2017-11-29 14:50:38 -05:00
Jonathan Belcher
2d6638a156
Small css fix with margins
2017-11-29 14:48:58 -05:00
Claudio Sanches
bc86192120
REST API v1 webhooks CRUD implementation
2017-11-29 17:44:09 -02:00
Jonathan Belcher
76dba4f022
Add compiled assets
2017-11-29 14:38:41 -05:00
Claudiu Lodromanean
b05cd3f3a7
Merge pull request #17934 from woocommerce/fix/17925
...
Display product URL only if is not hidden in downloads list
2017-11-29 10:33:34 -08:00
Jonathan Belcher
7296f69e54
Fix comments to follow standard
2017-11-29 13:03:22 -05:00
Karolína Vyskočilová
864c41c35a
Add zipcode validation for Slovakia
2017-11-29 18:55:35 +01:00
Karolína Vyskočilová
deb00803b5
Add zipcode validation for Czech republic
2017-11-29 18:48:15 +01:00
Jonathan Belcher
3d86535c6d
Adds geo and install plugin control to extensions featured page
2017-11-29 12:41:08 -05:00
Jonathan Belcher
01ed1bea76
Remove testing code
2017-11-29 10:25:34 -05:00
Claudio Sanches
64ffa22e16
Merge pull request #17948 from woocommerce/add/17920-httponly-cookie-filter
...
Introduce woocommerce_cookie_httponly filter
2017-11-29 11:20:19 -02:00
Gerhard Potgieter
220abd97eb
Pass all args of function to filter
2017-11-29 15:12:24 +02:00
Claudio Sanches
563466c0eb
Merge pull request #17950 from yratof/remove-variation-whitespace
...
Removed whitespace in variations
2017-11-29 10:52:58 -02:00
Claudio Sanches
53b3c56a63
Merge pull request #17947 from woocommerce/update/17943-category-image-schema
...
Update REST API product categories image schema
2017-11-29 10:42:58 -02:00
Claudio Sanches
c0a7f0eef0
Fixed category images schema in REST API v1
2017-11-29 10:42:06 -02:00
Claudio Sanches
d3a5a1bfd4
Fixed bugs caused after fixing coding standards
2017-11-29 10:32:35 -02:00
Claudio Sanches
ae67b3b404
Merge pull request #17945 from woocommerce/fix/17944-remove-add-to-cart-pagination
...
Exclude add-to-cart from pagination link
2017-11-29 10:24:28 -02:00
Claudio Sanches
a70d0109c0
Initial webhooks implementation on REST API v1
2017-11-29 10:23:19 -02:00
Claudio Sanches
899bac0fbc
Merge pull request #17938 from zachd/update-irish-counties
...
Ensure Irish counties are listed alphabetically
2017-11-29 09:53:19 -02:00
Andrew Lazarus
db65913d3c
Removed whitespace in variations
...
Whitespace is added by formatting the lines with whitespace. This stops you from being able to target the element & check if it's empty with :empty etc.
2017-11-29 10:55:09 +01:00
Gerhard Potgieter
9a5e8b1db8
Merge pull request #17946 from shivapoudel/fix/17919
...
Fix - Bulk action in status logs table
2017-11-29 11:54:11 +02:00
Gerhard Potgieter
be4a2553b1
Introduce woocommerce_cookie_httponly filter on the httponly param of setcookie.
2017-11-29 11:22:57 +02:00
Gerhard Potgieter
b1b9f57a91
Merge pull request #17930 from ughimire/regenerate-warning
...
Fix - Illegal offset type in isset or empty
2017-11-29 11:16:14 +02:00
Gerhard Potgieter
5f534e7388
Change product categories image object schema from name to title to bring docs in line with the actual output.
2017-11-29 11:06:41 +02:00
Shiva Poudel
1bf1f84560
Fix - Bulk action in status logs table, Closes #17919
2017-11-29 14:49:49 +05:45
Gerhard Potgieter
f1479b07d5
Exclude add-to-cart param from get_pagenum_link function. paginate_links calls this function even though we pass a base url to it.
2017-11-29 10:52:55 +02:00
Umesh Ghimire
e128f774c4
Revert isset check as it was previously
2017-11-29 14:13:47 +05:45
Gerhard Potgieter
7b74dc2576
Merge pull request #17942 from woocommerce/update-japanese-prefectures-coy
...
Update Japanese prefectures to include prefecture type
2017-11-29 10:22:47 +02:00
Umesh Ghimire
c8fa977453
Merge pull request #2 from shivapoudel/umesh-illegal-warning
...
Fix - Check and process if woocommerce_thumbnail is size
2017-11-29 13:04:42 +05:45
Umesh Ghimire
020c66efa4
Merge branch 'regenerate-warning' into umesh-illegal-warning
2017-11-29 13:04:29 +05:45
Umesh Ghimire
f1eac2980b
Merge branch 'regenerate-warning' into umesh-illegal-warning
2017-11-29 13:02:18 +05:45
Umesh Ghimire
f642440b99
Merge branch 'master' into regenerate-warning
2017-11-29 12:58:29 +05:45
Shiva Poudel
d4b4b808ed
Fix - Check and process if woocommerce_thumbnail is size
2017-11-29 12:54:32 +05:45
John Coy
249aec1d47
Prefecture fix
...
Applied correct prefecture type for Tokyo and Hokkaido
2017-11-28 17:01:58 -06:00
John Coy
a5d50968dc
Updates Japanese Prefectures
...
Japanese prefectures now include type of prefecture to follow proper methods of listing. FIxes #17941
2017-11-28 16:35:59 -06:00
Jonathan Belcher
42ea98a23d
Add build asset
2017-11-28 17:04:09 -05:00
Jonathan Belcher
54e686c44e
Change placeholder text in searchbar
2017-11-28 15:45:55 -05:00
Jonathan Belcher
06ee7026aa
Fix css on search bar
2017-11-28 15:42:11 -05:00
Claudio Sanches
cd495a853f
PHP_CodeSniffer ignore REST API v1 files
2017-11-28 18:16:45 -02:00
Claudio Sanches
3011058757
Applied Webhook CRUD into legacy REST API v3
2017-11-28 18:11:53 -02:00
Claudio Sanches
de18b383d0
Applied Webhook CRUD into legacy REST API v2
2017-11-28 18:08:46 -02:00
Claudio Sanches
2f9a8e3f75
Set user_id by defaul while creating webhooks on admin screen
2017-11-28 18:03:55 -02:00
Claudiu Lodromanean
eb6374dc7a
Merge pull request #17921 from woocommerce/fix/rest-api-date-format
...
[REST API] Fixed date format in reports schema
2017-11-28 11:57:49 -08:00
Claudio Sanches
575e2d2224
Advanced webhooks search
2017-11-28 17:39:42 -02:00
Zachary
f09b7fc97e
Ensure Irish counties are listed alphabetically
2017-11-28 18:58:50 +00:00