Commit Graph

29002 Commits

Author SHA1 Message Date
Jeff Stieler 950f0c4688 Setup wizard: remove mention of live shipping rates from “activate” step. 2018-10-24 08:57:09 -04:00
Amit Chauhan a1605b2b86
Merge pull request #1 from woocommerce/master
WooCommerce  3.5.0 version
2018-10-24 17:05:01 +05:30
jamsheerkrd bb5df05920
Update abstract-wc-data.php
https://github.com/woocommerce/woocommerce/issues/21640
2018-10-24 14:05:49 +05:30
Rodrigo Primo 4ad0fbd521 3.5.0 changelog 2018-10-23 18:41:08 -03:00
AlexeyKhmyrov c432c619d1 Change unit tests for wc_format_dimensions() 2018-10-23 13:56:27 -05:00
Claudiu Lodromanean a4d99fee7c
Merge pull request #21590 from woocommerce/update/releasereadme
3.5 release readme
2018-10-23 09:11:07 -07:00
Claudiu Lodromanean bdf5c02f48
Merge pull request #21619 from woocommerce/fix/21571
Tweaks to unsupported theme handling and hidden preview button handling
2018-10-22 09:41:45 -07:00
Claudiu Lodromanean 76690246cd
Update readme.txt 2018-10-22 09:41:02 -07:00
Claudiu Lodromanean 6ebdffd615
Merge pull request #21617 from itowhid06/master
[REST API] pass missing $filter as parameter in legacy get_order_refund endpoints
2018-10-22 09:40:26 -07:00
AlexeyKhmyrov 179d0fdc52 Issue #21406 Dimensions in RTL Languages are displayed incorrectly on single product pages.
Using '×' instead of 'x' in string '10 x 20 x 30 cm'
2018-10-22 11:29:07 -05:00
AlexeyKhmyrov a58e907994 Fixed coding standards 2018-10-22 11:27:01 -05:00
Rodrigo Primo 8f04e09f26 Fix PHPCS violations automatically using phpcbf 2018-10-22 11:22:22 -03:00
Claudiu Lodromanean 9351d0c937
Merge pull request #21601 from woocommerce/fix/21534-2
Change wp_woocommerce_sessions before dbDelta() is called
2018-10-19 12:00:53 -07:00
Claudiu Lodromanean 14ea40cae0
Merge pull request #21614 from menakas/issue_21511
Trim the import file headers while reading
2018-10-19 11:16:28 -07:00
Claudiu Lodromanean 576da4bb16
Update readme.txt 2018-10-19 11:16:24 -07:00
claudiulodro b49a9a5809 Tweaks to unsupported theme handling and hidden preview button handling 2018-10-19 10:49:58 -07:00
Claudiu Lodromanean 10e8ba503b
Merge pull request #21613 from woocommerce/fix/rest-api-reviews-schema
[REST API] Fixes and improvements to product reviews schema and params
2018-10-19 08:45:02 -07:00
Towhidul Islam b68cef2062 [REST API] pass missing $filter as parameter in get_order_refund 2018-10-19 20:41:20 +06:00
Menaka S 566c57cc45 Trim the import file headers while reading 2018-10-19 16:43:52 +05:30
Claudio Sanches bd37853923 Improved review and reviewer_email 2018-10-18 18:53:16 -03:00
Claudio Sanches f3fdcd2ec0 Fixed order or collection params 2018-10-18 18:17:15 -03:00
Claudio Sanches 17a80c863e [REST API] Fixed product reviews schema and content 2018-10-18 18:13:21 -03:00
Claudio Sanches d987fb95b9 [REST API] Register data endpoints 2018-10-18 16:04:54 -03:00
Rodrigo Primo 12af00e38f
Merge pull request #21605 from woocommerce/fix/21578
Fix: WC_Product::get_image() should use $attr parameter
2018-10-18 14:34:02 -03:00
Claudiu Lodromanean c994956f03
Merge pull request #21573 from woocommerce/fix/21548
Simplified path check for CSV importer to cause less issues
2018-10-18 07:56:34 -07:00
Rodrigo Primo 9b094fc74d Use $product->get_image_id() instead of has_post_thumbnail()
This commit replaces all instances where has_post_thumbnail() was used with $product->get_image_id(). This is a continuation of 64b589f032 and is needed to support the custom product tables plugin as has_post_thumbnail() relies on a post meta.
2018-10-18 09:28:20 -03:00
Rodrigo Primo 3c76b4992b phpcs fixes 2018-10-18 09:11:26 -03:00
Rodrigo Primo 05aa357b98 Add unit tests for WC_Product::get_image() 2018-10-17 19:40:57 -03:00
Rodrigo Primo 6ed2ebb3ba Fix: WC_Product::get_image() should use $attr parameter
This commit fixes a issue that was introduced when WC_Product::get_image() was refactored in 64b589f032 that was making this method ignore what was passed in the $attr parameter.
2018-10-17 19:40:57 -03:00
Rodrigo Primo bbf6282d07 Simplify WC_Product_Simple tests
Use setUp() method to define a product object that is used in all the tests instead of duplicating code and creating a product object in every test.
2018-10-17 19:22:16 -03:00
Rodrigo Primo e7271e0fec
Merge pull request #21603 from woocommerce/revert-21468-master
Revert "Delete old ISSUE_TEMPLATE.md"
2018-10-17 16:34:21 -03:00
Rodrigo Primo 65356ae147
Revert "Delete old ISSUE_TEMPLATE.md" 2018-10-17 16:27:27 -03:00
Claudiu Lodromanean 59a863bc70
Merge pull request #21591 from JeroenSormani/master
Ensure wp_list_pluck() gets a array and not possibly null
2018-10-17 08:27:04 -07:00
Claudiu Lodromanean 0f2ee63fdc
Update readme.txt 2018-10-17 08:26:39 -07:00
Claudiu Lodromanean 8c6b7032c6
Merge pull request #21596 from woocommerce/fix/rest-api-v3-producs-schema
[REST API] Fixed schema stock_status on products endpoints
2018-10-17 08:25:12 -07:00
Claudiu Lodromanean 5ca9600a23
Merge pull request #21595 from woocommerce/fix/rest-api-v3-trashed-orders
[REST API] Ability to query orders from trash bin
2018-10-17 08:24:06 -07:00
Claudiu Lodromanean 6f32369144
Merge pull request #21594 from woocommerce/fix/rest-api-v3-order-refunds-schema
[REST API] Fixed schema for refunded_payment in order refunds endpoint
2018-10-17 08:11:16 -07:00
Rodrigo Primo 41d2e1cafd Change wp_woocommerce_sessions before dbDelta() is called
On PR #21245, I added a db update routine to change wp_woocommerce_sessions primary key from session_key char(32) to session_id bigint auto_increment as dbDelta() is unable to handle primary key changes (see https://core.trac.wordpress.org/ticket/40357). But I didn't realize that dbDelta() was actually trying to add a new primary key to the table without droping the old key first and this was generating the following error:

```
WordPress database error Multiple primary key defined for query ALTER TABLE wp_woocommerce_sessions ADD PRIMARY KEY  (`session_id`)
```

To prevent this error from happening, this commit moves the query that changes the primary key from db update routine to WC_Install::create_tables() so that it runs before dbDelta() is called.
2018-10-17 12:11:01 -03:00
Claudiu Lodromanean 24101d424a
Merge pull request #21593 from woocommerce/fix/rest-api-order-notes-schema-v3
[REST API] Fixed duplicated entry in orders notes schema
2018-10-17 08:10:12 -07:00
Rodrigo Primo 0c77ea584b Revert "Do not try and create primary key using upgrade routine, dbdelta does that automatically. Just drop the key if it exists and add a new unique key."
This reverts commit d3e59b770b.
2018-10-17 11:20:39 -03:00
Rodrigo Primo 35bd8ba05d Revert "Do check on new key field instead and only run alter when not found."
This reverts commit a41df43cb0.
2018-10-17 11:20:27 -03:00
Rodrigo Primo 2cd6bdf7d6
Merge pull request #21586 from rodrigoprimo/travis-php-73
Add PHP 7.3 to the Travis build matrix
2018-10-17 10:26:35 -03:00
Claudio Sanches 2bcd4598f8 Fixed coding standards 2018-10-16 21:15:03 -03:00
Claudio Sanches a9b36a4e23 [REST API] Fixed schema stock_status on products endpoints 2018-10-16 21:12:49 -03:00
Claudio Sanches c6daf8287d [REST API] Ability to query orders from trash bin 2018-10-16 20:19:34 -03:00
Claudio Sanches 98c8bb3eda [REST API] Fixed schema for refunded_payment in order refunds endpoint 2018-10-16 19:20:53 -03:00
Claudio Sanches 0f1f91f90a [REST API] Fixed duplicated entry in orders notes schema 2018-10-16 19:07:58 -03:00
Claudiu Lodromanean 8e47d2afd5
Merge pull request #21575 from JoryHogeveen/patch-1
Validate multisite super admins before filtering editable roles & mapping capabilities
2018-10-16 11:23:42 -07:00
Claudiu Lodromanean 13da70810d
Update readme.txt 2018-10-16 11:23:37 -07:00
Claudiu Lodromanean 84ec31d3cc
Merge pull request #21588 from woocommerce/fix/21587
[REST API] Product downloads - Check if file ID is not empty and exists
2018-10-16 10:09:52 -07:00