Commit Graph

11 Commits

Author SHA1 Message Date
Mike Jolley 66e13a9927 Filter object 2015-02-26 11:59:50 +00:00
Mike Jolley ffd512a55e Why assign $the_product to itself? 2015-02-03 16:14:56 +00:00
Scrutinizer Auto-Fixer 19f660171e Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-01-23 14:37:20 +00:00
Mike Jolley fef41c149c @uses WP_POST 2015-01-15 15:03:12 +00:00
Mike Jolley 206496b584 Split up WC_Product_Factory methods 2014-11-26 00:03:00 +00:00
Mike Jolley a076c5a69d get_product in product factory should return passed in object if its a product already
Fixes #6726
2014-11-11 16:24:22 +00:00
shivapoudel a3d4d87ca5 Remove newline 2014-09-21 00:41:34 +05:45
Nick Price e69f3d6b54 Minor fix to stop warnings in HHVM
HHVM is a bit weird and will throw these warnings otherwise:

HipHop Warning: Cannot access property on non-object in /home/_____/public_html/wp-content/plugins/woocommerce/classes/class-wc-product-factory.php on line 36
HipHop Warning: Cannot access property on non-object in /home/_____/public_html/wp-content/plugins/woocommerce/classes/class-wc-product-factory.php on line 37
2014-01-17 14:28:15 -06:00
Mike Jolley 0ff59bcd5b remove deprecated function. Closes #3582. 2013-08-13 13:02:20 +01:00
jprieton 59d43a25f7 Update proposal hint on documentation of function get_product()
Update proposal hint on documentation of function `WC_Product_Factory::get_product()` from `void` to an generic `WC_Product`
2013-07-01 17:18:07 -04:30
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00