Commit Graph

26 Commits

Author SHA1 Message Date
Mike Jolley abe0d0004a Merge pull request #5678 from coenjacobs/order-factory-refactor
Order factory refactor implementation (take two)
2014-07-03 15:14:43 +01:00
Mike Jolley ad2c483370 No need to clear all transients here - only clear parent's cache
Part of #5777
2014-07-03 12:59:57 +01:00
Coen Jacobs 86a4add087 Merge remote-tracking branch 'upstream/master' into order-factory-refactor
Conflicts:
	includes/class-wc-order.php
2014-07-03 13:38:55 +02:00
claudiosmweb d3dc018ffc fixed the wc_product_has_unique_sku() function name 2014-06-27 16:03:25 -03:00
claudiosmweb 0a4b6387e6 introduces the wp_product_has_unique_sku() function 2014-06-27 15:59:24 -03:00
Mike Jolley 50a4c5bd23 Merge branch 'variation-stock-management'
Conflicts:
	includes/class-wc-product-variation.php
2014-06-27 11:15:42 +01:00
Mike Jolley 0f6f04e017 Added wc_stock_amount() core function and replaced intval
#4612
2014-06-25 11:25:28 +01:00
Mike Jolley fb1b6af309 Merge pull request #5662 from franticpsyx/order_item_count
order item count is wrong
2014-06-23 13:05:30 +01:00
Mike Jolley c66f2b8232 Split out several transient clearing functions to be called only when needed. 2014-06-19 12:25:10 +01:00
Mike Jolley af77d8f12c Only remove featured transient when featured changes 2014-06-19 12:25:10 +01:00
Coen Jacobs 89ea6c46ab Replace new WC_Order calls with get_order 2014-06-13 15:24:51 +02:00
Manos Psychogyiopoulos c172a08551 filter class 2014-06-12 15:09:15 +03:00
Manos Psychogyiopoulos cb75dcf699 filter name change 2014-06-12 14:51:23 +03:00
Manos Psychogyiopoulos 0004a20add filter output apart from count 2014-06-12 11:53:39 +03:00
Manos Psychogyiopoulos 6af23e09bf order item count wrong 2014-06-12 10:59:45 +03:00
Mike Jolley a621288459 Fix address format in plain text email 2014-06-09 12:08:45 +01:00
Coen Jacobs 3ad8935b20 Removed ununsed global variables in local scopes 2014-06-08 22:33:11 +02:00
Mike Jolley ded4b7404d Admin changes for #5046
- Removed post type classes. Since they were always loaded, there was
no benefit having them split up. Combined meaning less hooked in
methods.
- Stopped loading some function files and sessions in the admin area.
They are not needed there.
- Made a few admin page classes static as they are stateless
2014-06-04 11:16:19 +01:00
Mike Jolley dc6c70cf77 Delete term count transients after stock status change and trashed post
Closes #5286
2014-04-07 15:16:54 +01:00
Mike Jolley e0b042a8d4 Fix strict standards Closes #4980 2014-02-28 10:54:34 +00:00
Mike Jolley 57157db9bf Function refactoring. 2013-08-09 17:11:21 +01:00
Mike Jolley d77bac9330 Removed hooks and functions from admin. 2013-08-06 16:56:15 +01:00
Mike Jolley f09fafe738 Meta box refactor
Closes #3458.
2013-08-06 11:41:20 +01:00
Mike Jolley 981575491d Review order columns Closes #2798. 2013-07-31 15:12:53 +01:00
Mike Jolley 728b1bf244 Some more admin class conversions 2013-07-24 19:55:02 +01:00
Mike Jolley 8a6ff89bf1 Moved admin directory and moved some functions to classes (ongoing refactor) 2013-07-24 17:01:36 +01:00