Commit Graph

25009 Commits

Author SHA1 Message Date
claudiulodro 22031c5b56 Tag support in shortcode 2017-11-30 13:43:32 -08:00
Claudiu Lodromanean 4e2e64ad2e
Merge pull request #17975 from woocommerce/refactor/12439-trigger-webhook
Trigger webhook when delivery URL is changed
2017-11-30 11:12:51 -08:00
claudiulodro 8d6d4c4fd9 good tax approach 2017-11-30 10:57:33 -08:00
Claudio Sanches 270c0a200e Merge branch 'master' into feature/webhook-crud 2017-11-30 16:55:28 -02:00
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 01b3f2bac4 Trigger webhook when delivery URL is changed 2017-11-30 16:48:16 -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
Claudio Sanches 4d9203b841 Soft deprecated webhook deliveries REST API endpoints 2017-11-30 16:20:20 -02:00
Claudio Sanches 9b5d5b684b Fixed coding standards 2017-11-30 16:05:36 -02:00
claudiulodro 97c5140c25 Clean up to make it easier to work 2017-11-30 09:58:39 -08: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
claudiulodro 79458dd991 Fix template loading issues 2017-11-29 14:30:43 -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
claudiulodro 1f93ed5153 Initial implementation of archives 2017-11-29 13:46:37 -08: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
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