Commit Graph

14248 Commits

Author SHA1 Message Date
Mike Jolley 33ec416214 On update, set woocommerce_catalog_columns to old default of 4 2018-01-31 12:33:30 +00:00
Gerhard Potgieter a0b89fdda3 PHPCS fixes 2018-01-31 08:07:27 +02:00
Gerhard Potgieter 6a7f00ce89 Fix grammer 2018-01-31 08:06:51 +02:00
Claudiu Lodromanean de4cd97b00
Merge pull request #18659 from woocommerce/fix/rest-api-typos
[REST API] Fixed typos in products schema
2018-01-30 17:37:31 -08:00
Mike Jolley 96982cd318 Min columns must be 1, not 0 2018-01-30 23:32:52 +00:00
Rodrigo Primo 538ee2097c
Merge pull request #18594 from alexminza/master
Added support for additional HTML5 input types for settings/checkout forms
2018-01-30 17:33:13 -02:00
Rodrigo Primo 7255855789
Merge pull request #18655 from woocommerce/fix/17761-tables
Fix table styling in mobile
2018-01-30 17:08:13 -02:00
Claudio Sanches e6597cd351 Fixed coding standards 2018-01-30 15:05:25 -02:00
Claudio Sanches 05a80e2d4f [REST API] Fixed typos on products schema 2018-01-30 15:03:01 -02:00
Claudiu Lodromanean 30c612643c
Merge pull request #18656 from woocommerce/fix/18653
Increase precision from 4 to 6
2018-01-30 07:32:56 -08:00
Mike Jolley c8b14b6f76 Increase precision from 4 to 6 2018-01-30 15:00:53 +00:00
Claudiu Lodromanean 94caad1af3
Merge pull request #18651 from woocommerce/fix/18645-cast-multiselect-values
Cast multiselect keys as strings
2018-01-30 06:16:47 -08:00
claudiulodro 141aeaa1b3 Fix spacing 2018-01-30 06:15:30 -08:00
Claudiu Lodromanean 85d9631714
Merge pull request #18649 from woocommerce/fix/18643
Remove kses from before/after attribute
2018-01-30 06:13:27 -08:00
Mike Jolley 341dfe1e7b Fix table styling in mobile 2018-01-30 13:24:59 +00:00
Gerhard Potgieter e041136974 Cast multiselect keys as strings since html does not know anything about integers. 2018-01-30 14:03:28 +02:00
Mike Jolley 057b40e044 Remove kses from before/after attribute
Closes #18643
2018-01-30 11:45:00 +00:00
Mike Jolley 2563728edd Store attachment ID 2018-01-29 17:15:14 +00:00
Boro Sitnikovski a03bdc27ed Bail out earlier 2018-01-29 17:03:34 +00:00
Boro Sitnikovski 906084d2e9 Make param 3 optional and skip if it's not available for WP compat 2018-01-29 17:03:34 +00:00
Claudiu Lodromanean 183a00503a
Merge pull request #18639 from woocommerce/update/shipping-method-wildcard-wording
Update help text for shipping wildcards. Update to #18611
2018-01-29 08:17:36 -08:00
Claudiu Lodromanean 1fc3a71e76
Merge pull request #18625 from pmgarman/patch-3
Return amount refunded as a float
2018-01-29 08:01:43 -08:00
Claudiu Lodromanean 2cdffd538c
Merge pull request #18636 from MechielCouvaras/patch-2
Update Klarna URLs to relevant versions
2018-01-29 07:45:38 -08:00
Gerhard Potgieter 3e14fd41c4 Update help text for shipping wildcards. Update to #18611 2018-01-29 17:32:55 +02:00
Claudio Sanches b1b12fc50b
Merge pull request #18606 from woocommerce/update/dont-use-wccom-hosted-image
Serve WC core copy of the WC logo instead of WC.com copy
2018-01-29 13:20:24 -02:00
Mike Jolley 46f9e00497 Tweak paypal seller protection text
Closes #18632
2018-01-29 14:43:25 +00:00
Mechiel Couvaras 8d6f434ba0
Update Klarna URL to relevant versions
Updating Klarna URL to point to the relevant product page (region specific) on WooCommerce.com
2018-01-29 15:40:53 +02:00
Patrick Garman fd3a39345f
Return amount refunded as a float
An amount refunded should be numeric, I was receiving pHP notices that a non numeric value was encountered. Seems this is something potentially new as of PHP 7.1? Is there any reason we should **not** return a float here? Any null or empty response from the SQL query would be 0, which would still be accurate for the total that was refunded for that order.

```2018/01/27 16:50:50 [error] 46797#0: *2930 FastCGI sent in stderr: "PHP message: PHP Warning:  A non-numeric value encountered in /wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-items.php on line 212
PHP message: PHP Stack trace:
PHP message: PHP   1. include() /cms/wp-admin/post.php:174
PHP message: PHP   2. do_meta_boxes() /cms/wp-admin/edit-form-advanced.php:714
PHP message: PHP   3. WC_Meta_Box_Order_Items::output() /cms/wp-admin/includes/template.php:1063
PHP message: PHP   4. include() /wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php:41```
2018-01-27 17:07:20 -06:00
Claudiu Lodromanean 021734d97b
Merge pull request #18619 from woocommerce/fix/18607
Correctly sanitize posted attributes when JS is off.
2018-01-26 08:24:21 -08:00
Mike Jolley e56b007af1 Correctly sanitize posted attributes when JS is off. 2018-01-26 16:11:53 +00:00
Claudiu Lodromanean 1627cbd8eb
Merge pull request #18618 from woocommerce/fix/18613
Cast min, max, and value to int
2018-01-26 07:58:30 -08:00
Claudiu Lodromanean 3f5d82b4c4
Merge pull request #18617 from woocommerce/fix/18615
Enforce columns in shortcodes
2018-01-26 07:56:32 -08:00
Mike Jolley 2d952b1597 base 10 2018-01-26 15:54:34 +00:00
Mike Jolley 36bce5f939 Cast min, max, and value to int
Fixes #18613
2018-01-26 15:53:23 +00:00
Claudiu Lodromanean 18f9bb408f
Merge pull request #18604 from woocommerce/update/thumbnails
Tweak thumbnails + intermediate sizes
2018-01-26 07:47:56 -08:00
Mike Jolley 4378bd6df1 Enforce columns in shortcodes 2018-01-26 15:15:06 +00:00
Mike Jolley a5a3f2149b Regen missing images 2018-01-26 14:54:26 +00:00
Mike Jolley 4edd65c124 1 resize per batch 2018-01-26 14:31:27 +00:00
Mike Jolley 06e84b7af3 Merge image meta data 2018-01-26 13:35:11 +00:00
Mike Jolley 4a3124ba46 Update batch per task 2018-01-26 12:36:07 +00:00
Mike Jolley 626b8baebc MAGICK_THREAD_LIMIT fix for timeouts 2018-01-26 12:17:41 +00:00
Gerhard Potgieter 97ca671efa Validating user usage limit should check that of customer and not logged in user when applying coupons in admin area. 2018-01-26 12:37:23 +02:00
Claudiu Lodromanean be7ad7f234
Merge pull request #18599 from woocommerce/fix/18573
[REST API] Refund line items are read-only
2018-01-25 11:34:30 -08:00
Rodrigo Primo 52eb803e81 Serve WC core copy of the WC logo instead of WC.com copy
This commit changes the URL of the WC logo displayed in the WooCommerce.com Subscriptions page inside WooCommerce admin to use an image served from WC core instead of WC.com.
2018-01-25 16:46:31 -02:00
Rodrigo Primo 526db5faf8 PHPCS fixes 2018-01-25 16:43:07 -02:00
Mike Jolley 674145a2e7 Tweak intermediate sizes 2018-01-25 17:27:50 +00:00
Mike Jolley ebde2d64fb phpcs 2018-01-25 17:03:54 +00:00
Mike Jolley 6e83fcec50 Sizes for 3 cols default 2018-01-25 17:03:01 +00:00
Claudio Sanches 47883d89ab Coding standards 2018-01-25 14:04:11 -02:00
Claudio Sanches e8b8e87cae [REST API] Refund line items are read-only
Closes #18573
2018-01-25 14:02:31 -02:00