Commit Graph

16588 Commits

Author SHA1 Message Date
claudiulodro e53e21d65f Better variable name 2018-10-11 13:31:18 -07:00
claudiulodro 441fe32f0b Add filetype checking for all files located on the server 2018-10-11 13:31:18 -07:00
claudiulodro 989230f2b9 Refactor for increased safety 2018-10-11 13:31:18 -07:00
claudiulodro 88d506bac0 Dont do abspath file_exists check on urls that start with // since those are remote urls and not local urls 2018-10-11 13:31:18 -07:00
AmanS 9d327ac52e WC Refund class older name 'WC_Refund' somehow left over in the function docblock. Corrected to WC_Order_Refund. 2018-10-10 00:28:15 +05:30
Claudiu Lodromanean 96005a51c4
Merge pull request #21494 from woocommerce/fix/21484
Don't fire duplicate actions in shipping settings
2018-10-03 16:59:06 -04:00
Claudiu Lodromanean a5509f1c75
Merge pull request #21493 from woocommerce/fix/21430
Add `address_1` to shipping packages info
2018-10-03 16:57:40 -04:00
JD 0871ad8627
Update class-wc-webhook.php 2018-10-03 21:38:53 +01:00
claudiulodro 1716538617 Prevent duplicate actions from firing in shipping settings 2018-10-03 15:43:11 -04:00
claudiulodro 84e5de5eef Add address_1 to shipping packages info 2018-10-03 14:31:35 -04:00
JD b0b2b34884
Avoid treating HTTP 301 and 302 Codes as Failures
As per:

https://github.com/woocommerce/woocommerce/issues/21490

Change the definition of a Webhook Delivery Failure to exclude HTTP/301 and HTTP/302 responses. This allows webhook handlers (such as Google Apps Script) to avoid breaching failure limits and disabling webhooks.
2018-10-03 16:40:49 +01:00
Claudiu Lodromanean 543c63072d
Merge pull request #21461 from dgwatkins/master
The orderby=ID argument needs to be uppercase.
2018-10-03 10:13:53 -04:00
Claudiu Lodromanean 71ca7c45ad
Merge pull request #21452 from andgrankin/patch-2
Update documentation
2018-10-03 10:11:11 -04:00
Claudiu Lodromanean 2368c4d4a8
Merge pull request #21448 from dyszczo/bugfix/logger-instance-warning
Fix for warning in wc_get_logger when woocommerce_logging_class retur…
2018-10-03 10:05:25 -04:00
Claudiu Lodromanean ceccd62c91
Merge pull request #21456 from woocommerce/fix/21389
Add inline float style for email label to match order details styling
2018-09-28 08:26:33 -07:00
Claudiu Lodromanean f1a7792454
Merge pull request #21403 from woocommerce/fix/21294
Fix attributes bugs
2018-09-28 08:24:03 -07:00
David Garcia Watkins d4484f3a4b The orderby=ID argument needs to be uppercase. 2018-09-27 19:51:10 +02:00
Claudiu Lodromanean c8bab001a9
Merge pull request #21410 from rnaby/fix/21395
Fix for issue #21395
2018-09-27 10:46:23 -07:00
Claudiu Lodromanean 9f77ef8526
Merge pull request #21455 from woocommerce/fix/20912
Change query to save session data
2018-09-27 10:39:46 -07:00
Claudiu Lodromanean 8b7ccf84ec
Merge pull request #21447 from woocommerce/fix/21392
Allow saving 0 as stock value when using quick edit
2018-09-27 10:37:13 -07:00
Claudiu Lodromanean f5d5cad65c
Merge pull request #21241 from woocommerce/fix/21226
Revise coupon logic and add tests.
2018-09-27 08:58:47 -07:00
Khan M Rashedun-Naby f1f3eee195 discussion_r219948141 and discussion_r219949290 fix 2018-09-27 12:41:45 +06:00
Gerhard Potgieter dd1d3b0c77 Make sure _stock is set and unslash value before using. Update PHPCS exclude rule to be more specific. 2018-09-27 08:02:12 +02:00
claudiulodro 4082222f7a Add inline float style for email label to match order details styling 2018-09-26 11:13:29 -07:00
Rodrigo Primo 734a9370be Change query to save session data
Use `INSERT ... ON DUPLICATE KEY UPDATE` instead of `REPLACE` in the query that saves session data. Doing this to prevent deadlocks in this table. For more information see https://github.com/woocommerce/woocommerce/issues/20912#issuecomment-420888726
2018-09-26 14:46:28 -03:00
Claudiu Lodromanean b338c14faf
Merge pull request #21445 from woocommerce/fix/21428
Output notices on woocommerce_before_customer_login_form
2018-09-26 09:34:26 -07:00
andgrankin 526e3826e8
Update documentation
Update documentation for methods set_coupon_discount_totals and set_coupon_discount_tax_totals
2018-09-26 22:43:17 +07:00
Gerhard Potgieter 14aea98d49
Merge pull request #21305 from woocommerce/fix/product-review-type
Save comment_type for product reviews
2018-09-26 13:35:05 +02:00
Gerhard Potgieter a365fb10e9
Merge pull request #21408 from woocommerce/fix/21269
Dont modify attributes orderby when ordering by name
2018-09-26 13:30:40 +02:00
Gerhard Potgieter 0d77d3a777
Merge pull request #21444 from woocommerce/fix/issue-21443
Remove 'order_again' query string to avoid multiple re-orders
2018-09-26 13:03:03 +02:00
dyszczo 7f5122d502 Fix for warning in wc_get_logger when woocommerce_logging_class returns valid logger instance 2018-09-26 12:56:59 +02:00
Gerhard Potgieter 9374e2e79a PHPCS fixes 2018-09-26 12:43:04 +02:00
Gerhard Potgieter 0428ea4f1e When quick edit saving stock, check for numeric value as empty returns true on 0 and you can set stock to 0. 2018-09-26 12:34:19 +02:00
Gerhard Potgieter 7a323c4a6d Output notices on woocommerce_before_customer_login_form 2018-09-26 11:32:19 +02:00
Boro Sitnikovski 82f3d6f3fb Remove 'order_again' query string to avoid multiple re-orders 2018-09-26 09:39:48 +02:00
Claudiu Lodromanean 6e8f995426
Merge pull request #21424 from thenbrent/update_action_scheduler
Update Action Scheduler to v2.1.0
2018-09-25 10:58:24 -07:00
Claudio Sanches 61f988db63
Merge branch 'master' into fix/product-review-type 2018-09-25 12:35:41 -03:00
Claudiu Lodromanean b424213554
Merge pull request #21416 from pierrebuet/master
Show the right size of placeholder image on single product page
2018-09-24 13:03:20 -07:00
Claudiu Lodromanean 2008b8e2b2
Merge pull request #21384 from woocommerce/fix/rest-api-order-statuses
[REST API] Updated order statuses slugs
2018-09-24 11:28:56 -07:00
Claudiu Lodromanean e597e16e33
Merge pull request #21346 from Spreeuw/patch-6
Fixes #21345
2018-09-24 11:28:01 -07:00
Brent Shepherd 6eddeaec50 PHPCS fixes 2018-09-24 11:43:46 +10:00
pierrebuet db3270a390 Show the right size of placeholder image on single product page
in the template for the product image, wc_placeholder_img_src() returns the thumbnail size of the image.
In order to use 'woocommerce_single' as size, the function needs to be corrected, so the function use the size and not a calculated array of sizes.  wc_get_image_size doesn't return an height for the woocommerce_single size. Further and since the image sizes are declared, there is no need to translate the size to an array.
2018-09-21 19:33:04 +02:00
Jeff Stieler 5fbbd38728 OBW: update to official ShipStation plugin slug. 2018-09-21 10:48:10 -06:00
Khan M Rashedun-Naby f979b43b25 Fix for issue #21395 2018-09-21 14:36:04 +06:00
claudiulodro fdef6b4c73 Dont modify attributes orderby when ordering by name 2018-09-20 12:32:06 -07:00
claudiulodro d7afce5f4c Update routine to set reviews comment type 2018-09-20 09:28:39 -07:00
claudiulodro 67d80c35d8 Update cache key to consistently work with all types of chars 2018-09-20 08:21:39 -07:00
Brent Shepherd 0c27837b2b Add cancel_all() to WC_Queue_Interface
And the WC_Action_Queue implementation of WC_Queue_Interface.

This avoids ambiguity between the behaviour of cancel(), which can
be confusing given it technically unschedules all actions for cron
or recurring actions, but only the next instance of a single action.
2018-09-20 15:42:24 +10:00
Brent Shepherd 32d3de3aa8 Use new as_ prefixed Action Scheduler functions 2018-09-20 15:39:56 +10:00
Brent Shepherd e45824a8c3 Update Action Scheduler to v2.1.0
Merge commit '3c610aec4ad1ebef9de8df1f4dae0097fcbf8469'
2018-09-20 12:16:26 +10:00