Commit Graph

26099 Commits

Author SHA1 Message Date
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
Mike Jolley 36b3ddedda
Merge pull request #18658 from woocommerce/update/readme-requirements
Removed legacy versions requirements
2018-01-30 18:42:26 +00: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
Claudio Sanches 5bf5eadfaa Master is 3.4.0 dev now 2018-01-30 14:52:46 -02:00
Claudio Sanches 8bf1ef939d Update changelog 2018-01-30 14:50:17 -02:00
Claudio Sanches 980c8d4d4f Removed legacy versions requirements 2018-01-30 14:36:57 -02:00
Claudiu Lodromanean d7eb2a3003
Merge pull request #18657 from woocommerce/fix/stable
Update stable tag
2018-01-30 08:35:09 -08:00
claudiulodro 10aca07747 Update stable tag 2018-01-30 08:33:43 -08: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
Claudio Sanches b9f596ec6f Fixed composer license syntax 2018-01-30 13:22:00 -02:00
Claudio Sanches 2f5ebc34ff Fixed composer license syntax 2018-01-30 13:20:58 -02:00
Claudio Sanches 831c621354 Updated contributors list 2018-01-30 13:06:39 -02:00
Mike Jolley c8b14b6f76 Increase precision from 4 to 6 2018-01-30 15:00:53 +00:00
Claudiu Lodromanean 4076b203e1
Merge pull request #18652 from woocommerce/add/new-team-members
New team members
2018-01-30 06:17:50 -08: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 fb19329fe1 Welcome new team members 2018-01-30 14:31:41 +02:00
Mike Jolley e4188b04b6 Merge branch 'pr/18600' 2018-01-30 12:12:50 +00:00
Mike Jolley 04fe7aaf4a Switch to variable 2018-01-30 12:12:44 +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
Claudiu Lodromanean bd41fe6de4
Merge pull request #18640 from woocommerce/fix/18628
Add fallback for attachment ID
2018-01-29 09:56:03 -08:00
Rodrigo Primo 2feacfb47a Display whether or not external object cache is enabled
This commit adds a new line to the section "WordPress environment" of the system status page to indicate whether or not WP external object cache is enabled.
2018-01-29 15:56:01 -02:00
Rodrigo Primo 75fc594013 Manually fix coding standard violations that can't be fixed with phpcbf 2018-01-29 15:55:43 -02:00
Rodrigo Primo a15ecc1601 Automatically fix coding standard violations using phpcbf 2018-01-29 15:53:54 -02: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
Claudiu Lodromanean a2c4ebe1e6
Merge pull request #18637 from woocommerce/update/18632
Tweak paypal seller protection text
2018-01-29 06:56:09 -08:00
Mike Jolley 46f9e00497 Tweak paypal seller protection text
Closes #18632
2018-01-29 14:43:25 +00:00
Mike Jolley c9d90353ef
Merge pull request #18633 from woocommerce/update/git-attributes
Exclude CODE_OF_CONDUCT.md and package-lock.json from the release .zip files
2018-01-29 13:53:28 +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
Rodrigo Primo e368a4e541 Exclude CODE_OF_CONDUCT.md and package-lock.json from the release .zip files 2018-01-29 10:18:57 -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
Chunkford e831406d9f
Display zero value when using shipping classes
When offering free shipping on certain products via a shipping class, the price (albeit zero value) isn't shown to the end user.
https://www.screencast.com/t/8oT7maIftTZo

It makes for a better user experience to actually show the 0.00 price to ensure there isn't any doubt.
https://www.screencast.com/t/mkrKWNItrI5r
2018-01-27 13:25:24 +00:00
Rodrigo Primo 9c4c006baa Fix: set orderby and order when calling WC_Customer_Download_Data_Store::get_downloads()
This commit fixes a bug in WC_Customer_Download_Data_Store::get_downloads() that made impossible to change the order in which the query returned the results. This method accepts the arguments `order_by` and `order` but it was ignoring them and always using the default values ('permission_id' and 'ASC' respectively).

One of the assertions of the WC_Customer_Download_Data_Store::get_downloads() test method was modified to make sure the code now works.

This bug was introduced by commit a443419.
2018-01-26 15:55:13 -02:00
Rodrigo Primo 07d00fc58e Make WC_Customer_Download() tests a bit faster
This commit simplifies WC_Customer_Download() tests by using hardcoded values for customer ID and e-mail instead of touching the database and creating a real customer for each test.
2018-01-26 15:44:23 -02: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