Commit Graph

16571 Commits

Author SHA1 Message Date
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
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
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
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
claudiulodro 178f98ff65 Fix attribute saving 2018-09-19 11:35:46 -07:00
Claudiu Lodromanean 3d2b0ab72b
Merge pull request #21333 from ediamin/conditional_check_for_float_type_product_meta
Ignore converting float meta value for registered post meta
2018-09-19 09:42:06 -07:00
Claudiu Lodromanean 9df1ded20f
Merge pull request #21353 from ediamin/fix/cron_interval_property_in_WP_Background_Process
Fix cron_interval property support in WP_Background_Process
2018-09-19 08:04:21 -07:00
Claudiu Lodromanean 2dad30c151
Merge pull request #21381 from woocommerce/fix/21264
Should check AND NOT IN array
2018-09-19 07:43:53 -07:00
Claudio Sanches 4ce8544478 [REST API] Fixed reports results 2018-09-18 12:14:17 -03:00
Claudio Sanches bd7a73696a [REST API] Updated order statuses slugs
All REST API does not include "wc-" prefix, removing here makes easy to
work with all endpoint without care about any prefix.
2018-09-18 11:27:26 -03:00
Claudio Sanches 48a0045373 [REST API] Fixed endpoints registered in /reports 2018-09-18 11:23:35 -03:00
Gerhard Potgieter 9849228442 Logical not bitwise operator 2018-09-18 15:11:26 +02:00
Trafikbyran b27980dae7 Update wc-template-functions.php
it's supposed to check if it isn't (&!) in the array of taxonomies that are stated on the following rows not if it is (&&)... before rows 623 to 630 did nothing..
one could argue that it should be possible to set the taxonomies in the array it checks "( 'product_cat', 'product_tag' )" in the filter but i haven't thought that through
2018-09-18 15:10:50 +02:00
Gerhard Potgieter 2f9ca949f7
Merge pull request #21336 from woocommerce/fix/21335
Triggering woocommerce_order_edit_status on single order status edit.
2018-09-18 12:43:33 +02:00
Gerhard Potgieter e69900a4d6 Shipping totals should show even if calculator is disabled. 2018-09-17 13:43:32 +02:00
Gerhard Potgieter c22c92b838 Introduce wc_sanitize_endpoint_slug and run all endpoint sanitization before saving through it to ensure that only valid slugs can be used for endpoints. 2018-09-14 09:35:49 +02:00
Gerhard Potgieter ed06fc5d01 Revert "Do not use camel case for password reset request subject and heading"
This reverts commit bd7f1a6a4d.
2018-09-14 09:23:06 +02:00
Gerhard Potgieter bd7f1a6a4d Do not use camel case for password reset request subject and heading 2018-09-14 09:15:23 +02:00
Edi Amin f1f03928f9 Fix cron_interval property support in WP_Background_Process 2018-09-14 09:29:48 +06:00
Ewout Fernhout 9c411dc532
Fixes #21345 2018-09-13 15:23:00 +02:00
Chris Shultz 2506ff250b Triggering woocommerce_order_edit_status on single order status edit. 2018-09-12 10:07:02 -07:00