Commit Graph

20 Commits

Author SHA1 Message Date
Claudio Sanches 38a4af3b0e Included @since tags in new methods of WC_Product_Download 2018-03-29 15:28:10 -03:00
Rodrigo Primo bb553c88ae Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-03-29 12:05:55 -03:00
Claudio Sanches 475e0c734f Fixed includes/class-wc-product-download.php PHPCS violations 2018-03-22 15:10:22 -03:00
Rodrigo Primo 3a480e5d80 Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-03-01 08:02:08 -03:00
Gerhard Potgieter f3974efb6b Fetch size dynamically 2018-02-14 11:35:16 +02:00
Gerhard Potgieter 0dce1a485c Remove hardcoded check, use dynamic values based on WP_CONTENT_DIR and ABSPATH 2018-02-14 11:29:44 +02:00
Gerhard Potgieter 18600e1d2f Add limit and expiry to get_downloads, cater for empty strings expiry and limit setters 2018-01-25 11:28:12 +02:00
Gerhard Potgieter 5ef6766654 Add limit and expiry to data array. 2018-01-25 11:04:45 +02:00
Gerhard Potgieter 2b44ddffc6 PHPCS fixes for WC_Product_Download class. 2018-01-25 11:03:02 +02:00
Gerhard Potgieter bdda142d24 expiry and limit getters and setters for WC_Product_Download 2018-01-25 10:57:12 +02:00
Mike Jolley 9a2b051d74 Relative paths are absolute. 2018-01-15 15:41:31 +00:00
Josh Smith 644ac674d7 [#12517] Replace download_id on customer download and product download with static UUID instead of filename based hash, to preserve download links, logs, and permissions across filename changes 2017-08-05 04:42:31 +00:00
Mike Jolley de7d8681d2 Only validate file type on relative paths 2017-04-12 16:49:43 +01:00
Mike Jolley 7fd2f4f554 Support (not really) relative paths
Fixes #13750
2017-03-24 11:48:32 +00:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Mike Jolley 162aa986b6 Fix tests 2016-12-05 14:21:09 +00:00
Mike Jolley b1565cf0d6 Download update routine and interface 2016-11-18 19:29:37 +00:00
Mike Jolley ac6bda2f62 Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation

* Product attributes

* Ratings

* Fix read method

* Downloads

* Feedback

* Fix up store
2016-11-11 15:31:00 +00:00
Mike Jolley 4fc03c9930 Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf8.
2016-11-11 11:58:57 +00:00
Mike Jolley 9a6136fcf8 [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation

* Product attributes

* Ratings

* Fix read method

* Downloads

* Feedback
2016-11-11 11:43:52 +00:00