Commit Graph

28 Commits

Author SHA1 Message Date
Claudio Sanches 97f9dab0ce Applies wc_get_order_notes() on admin 2017-07-13 19:33:20 -03:00
Rami Yushuvaev 402216a553 a11y: add `role="button"` to delete note links 2016-11-05 19:12:04 +02:00
Rami Yushuvaev e71cae8d8f a11y: make order notes metabox accessible 2016-11-05 18:56:03 +02:00
Rami Yushuvaev 6cc301e58c add translators comments 2016-10-29 13:16:03 +03:00
Aristeides Stathopoulos 9668247b95 WordPress.PHP.YodaConditions.NotYoda 2016-09-09 03:14:28 +03:00
Aristeides Stathopoulos cc0b29ccf4 PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket 2016-09-02 05:00:46 +03:00
Aristeides Stathopoulos f2730eea02 WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd 2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos 82f3cc221e WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis 2016-08-27 07:23:02 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Mike Jolley efd0304bb0 Color code manual, system and customer notes
Closes #7225
2016-02-08 11:39:31 +00:00
Fredrik Forsmo da2e0ac950 Add missing phpdoc param tags to all WC_Meta_Box_* classes 2016-01-04 22:31:36 +01:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches efa19f799d Fixed some coding standards for docblocks 2015-11-03 10:28:01 -02:00
Claudio Sanches b85ae9056c Rename wc_add_help_tip() function to wc_help_tip() 2015-10-23 13:09:08 -02:00
Claudio Sanches 2e95a68357 Use new "question" mark icon font
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]

We'll keep the old image and styles in order to maintain backwards
compatibility

Closes #9381
2015-10-23 01:40:52 -02:00
Kevin Hagerty 1c6dad110e improved spacing, filter name more conventional, added esc_attr 2015-09-09 10:11:09 -04:00
Kevin Hagerty 849a3598c9 add a filter to the array of the html classes for an order note
allow plugins to hook into the display of order notes to add classes.
2015-09-08 20:11:04 -04:00
Mike Jolley a49ac39519 Tweak note wording for clarity
Closes #7239
2015-03-24 11:27:33 +00:00
Brent Shepherd 32cd95cc80 Order "Order Notes" on Edit Order screen by ID
So that insertion order is preserved in case multiple comments were inserted within
the same second of each other.
2015-03-05 15:49:45 -08:00
Brent Shepherd 1f2375f7e4 Make no order notes label more generic
To account for it being displayed on custom order type Add/Edit screens
where the order type is not referred to as an 'Order' (e.g. a 'Subscription',
'Refund' or 'Pre-order').
2014-12-10 18:46:32 -08:00
Nicola Mustone dcde2a52e2 Removed GMT 2014-10-22 17:31:12 +02:00
Nicola Mustone cbbdfadb74 Order note use comment_date instead of GMT date
The order comment note should not use always GMT date. I think using `comment_date` is better.

Ref Ticket: #224994
2014-10-22 17:28:25 +02:00
Mike Jolley 02f5ed7542 Merge pull request #6327 from SiR-DanieL/order-notes
Fixing order notes date
2014-10-09 12:39:00 +01:00
shivapoudel ae3bc4051f Absolute path, Indentation & docblocks fix for includes/admin/meta-boxes/*.php :) 2014-09-21 01:50:06 +05:45
Nicola Mustone 46689ce083 Fixing order notes date 2014-09-19 09:55:16 +02:00
Tamara Zuk fc0e7adacb Coding Standards: Admin - Meta boxes
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:18:21 -04: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