Claudio Sanches
8d2a98eab1
Improved some docblocks
2015-07-16 16:29:01 -03:00
Brent Shepherd
83a87f238a
Add $hideprefix param to get_formatted_legacy()
...
To honour the $hideprefix when dealing with legacy item meta data.
2015-07-14 19:15:31 -07:00
Justin Shreve
e832f1d132
Add some filters around order meta to enable filtering the output of meta/attribute information.
2015-06-15 22:16:44 +00:00
Mike Jolley
77941a57c5
New way to gather item meta with bw compatibility on item meta class
...
#7210
This also includes a new template file for order item details.
@jameskoster Version bumping the order details template. Splitting it
up some more in next commit.
2015-05-01 12:42:29 +01:00
Nicola Mustone
85fd634861
fix scrutinizer issues
2015-04-01 15:33:56 +02:00
Mike Jolley
3fc7a0ae65
Allow wc_attribute_label to support product-level attribute names.
...
Closes #7662
2015-03-09 13:40:07 +00:00
Nicola Mustone
913cc42c06
Fixes https://github.com/woothemes/woocommerce-product-addons/issues/24
2014-11-18 14:22:21 +01:00
Mike Jolley
f2d668a6b6
Allow a delimiter to be set in $item_meta->display()
...
Fixes #6526
2014-10-14 11:54:20 +01:00
Mike Jolley
90297a09af
[2.2] When formatting meta data for display, suffix items to prevent issues when there are multiple values for the same meta key
...
Fixes #6404
2014-10-06 12:17:07 +01:00
Mike Jolley
80ca1c3808
Cast array instead Closes #5890
2014-08-05 11:28:27 +01:00
Mike Jolley
c4b813262c
Revert "Check for array"
...
This reverts commit 61df5d5534
.
2014-08-05 11:27:25 +01:00
Mike Jolley
61df5d5534
Check for array
...
Closes #5890
2014-07-30 17:05:31 +01:00
Max Rice
28449cfab2
Add WC_Order_Item_Meta::get_formatted()
...
This commit adds a helper method for plugins (and core) to use for
getting formatted item meta in an array, rather than a flattened string.
Part of #5423
2014-07-28 13:32:38 -04:00
Tamara Zuk
3ebd22b64a
Check if term is returned before getting its name
...
Prevents a rare notice if the order item meta value is blank
2014-05-11 09:37:27 -04:00
Mike Jolley
a6a44a3959
URL decode when viewing order attributes to prevent taxonomies not being found
...
Closes #5315
2014-04-23 16:24:05 +01:00
Mike Jolley
2c0cf925dd
wp_kses_post for meta display in admin
2014-03-26 09:43:14 +00:00
splashingpixels
c7bb4f0bbb
removed url decode from custom text attributes related to commit 7bce58e
2014-03-18 15:11:43 -07:00
Mike Jolley
ad5f510979
Item meta list classes Closes #5083
2014-03-14 12:40:55 +00:00
Mike Jolley
6fcdccd73b
Ensure attributes exist
2014-02-28 15:42:16 +00:00
Mike Jolley
38872b8536
For custom attributes, try to turn back to 'name' from saved slug in emails/view order templates Closes #4833
2014-02-24 15:14:32 +00:00
Coen Jacobs
61a783886d
Suggested code changes in #4266
2013-12-03 15:03:25 +01:00
Gregory K
f937c36250
Inconsistent return types: TODOs
2013-12-03 14:53:49 +01:00
Coen Jacobs
19688ad9ef
Fixed several @return void clauses. There are more. No code changes in this commit, only PhpDocs
...
Closes #4216
2013-11-27 10:03:47 +01:00
Mike Jolley
51ba9c393f
WC globals
2013-11-25 14:01:38 +00:00
Mike Jolley
70e2a05bd6
wpautop when displaying values #3926
2013-11-11 13:50:36 +00:00
Mike Jolley
355dd16962
Removed @coenjacobs helpers and cleaned up main clas
2013-09-12 14:41:02 +01:00
Mike Jolley
c75ea04c1c
classes -> includes
2013-06-11 14:25:30 +01:00