Rodrigo Primo
23b69eba53
Use phpcbf to fix coding standard violations in includes/admin
...
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Claudio Sanches
ef393b8405
Merge pull request #18918 from woocommerce/fix/order-item-meta-key-maxlength
...
Set maxlength for order item meta key
2018-02-20 16:52:35 -03:00
Mike Jolley
65278efd44
Allow modal to be wider and fix button wrapping
2018-02-15 12:46:47 +00:00
Caleb Burks
ea9f799ec6
Remove strlen() condition
...
Did some tests, substr() is actually faster than the strlen() check.
2018-02-12 17:39:33 -05:00
Caleb Burks
4f447ea48d
Sanitize order item meta key w/ max characters
2018-02-09 22:52:36 -05:00
Mike Jolley
29fed057af
Mobile styling
2017-11-22 16:28:11 +00:00
Mike Jolley
830ef8ed73
Change status action buttons
2017-11-20 22:43:37 +00:00
Mike Jolley
fb446e6bdf
Add wp_unslash to meta key
2017-11-07 20:23:10 +00:00
Mike Jolley
804feb9333
Store fee amount and prevent totals going negative
2017-08-23 12:15:06 +01:00
Mike Jolley
2accbdbd45
Load order after updating items
2017-08-11 16:16:22 +01:00
Mike Jolley
532ddfa6b0
Merge conflicts
2017-05-31 12:23:52 +01:00
Mike Jolley
c3c966b5fd
Add handles so drag and drop does not break edit on mobile
...
Fixes #15118
2017-05-18 15:22:12 +01:00
Mike Jolley
d67fb8fb83
New style import controller
...
Closes #15107
2017-05-17 14:16:38 +01:00
Mike Jolley
523d9d27cd
Styling
2017-05-12 20:40:54 +01:00
Mike Jolley
fd3bf05017
Working prototype exporter for products
2017-05-10 17:22:08 +01:00
Claudio Sanches
af7f271de1
Fixed sanitization of order items meta data
...
Closes #14067
2017-04-06 17:58:24 -03:00
Mike Jolley
bbf8e750ce
Tidy up includes
2017-02-16 11:46:01 +00:00
Mike Jolley
cf59524dd7
Fix order total race condition in CRUD
2016-09-07 09:28:11 +01:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +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
627b08ba37
Test coverage
2016-08-25 17:42:47 +01:00
Mike Jolley
885231baba
yoda
2016-08-25 17:10:59 +01:00
Mike Jolley
7f87800d8d
Fix save order item function
2016-08-25 13:50:37 +01:00
Mike Jolley
25883f8687
Set_props helper to load data from DB and handle errors
2016-08-25 13:05:27 +01:00
Mike Jolley
26c4b3ce13
Delete if qty = 0
2016-08-24 16:09:39 +01:00
Mike Jolley
938361535f
Exception handling
2016-08-24 16:02:19 +01:00
Mike Jolley
2cea613566
Fix shipping meta save
...
#11601
2016-08-22 18:07:52 +01:00
Mike Jolley
c88984eb0e
Replace add methods
2016-08-22 16:48:19 +01:00
Mike Jolley
21ad196297
Use CRUD in wc_save_order_items
2016-08-19 13:43:33 +01:00
Mike Jolley
5eaee825f1
Ensure page_object is valid
...
Closes #11641
2016-08-08 12:14:41 +01:00
Mike Jolley
66c61eebc8
Define full path for includes
...
Closes #11087
2016-07-27 11:58:43 +01:00
Jeff Stieler
3de28d2356
Take in options data to be saved as an optional argument, defaulting to $_POST.
...
This allows for reuse of the options field saving mechanism.
2016-07-26 10:24:15 -07:00
Slobodan Manic
3194c24c84
Introduce woocommerce_before_save_order_items hook
2016-06-07 08:13:35 +02:00
Mike Jolley
c9196a6377
Move help tip to core functions
2016-03-31 15:30:42 +01:00
Mike Jolley
d821b87f8a
Move shipping classes to custom UI in shipping section
2016-01-13 16:52:28 +00:00
Mike Jolley
1076854608
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# includes/abstracts/abstract-wc-shipping-method.php
# includes/class-wc-shipping.php
# includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
# includes/shipping/flat-rate/includes/class-wc-eval-math.php
# includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Fredrik Forsmo
c7ab50ec7e
Add missing param tags to various wc admin docblocks
2016-01-05 16:49:41 +01:00
Mike Jolley
56f274b68b
non-functional Mockup for the shipping zones interface
2015-12-08 12:45:18 +00:00
roykho
e5ca21f1e3
Change to WP convenience function
2015-11-12 13:19:57 -08:00
roykho
5cd3150c94
Fix order item name escaping apostrophe closes #9583
2015-11-12 08:04:21 -08:00
Shiva Poudel
33ad23f371
Improve help tip docblock and remove space
2015-11-10 07:13:53 +05:45
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Claudio Sanches
e91e0a9f5e
Changed <i> to <span> in wc_help_tip()
...
<span> is more semantically correct
2015-10-23 13:17:35 -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
Claudio Sanches
f6e828e359
[2.3] unslash shipping label, closes #9160
2015-09-18 12:28:13 -03:00
Mike Jolley
13b85f89a6
Tweak wc_create_page to work with trashed pages...
...
… and to check post IDs are valid pages with correct post statuses.
Fixes #9061
Closes #9062
Closes #9063
2015-09-07 14:17:22 +01:00
Claudio Sanches
1876227c9a
Removed dead variable and fixed coding standards on wc_create_page()
2015-06-16 13:08:30 -03:00
davidlenehan
2fb7e0b52b
Allow trashed pages to be republished
...
Expanding on @mehulkaklotar’s fix above. One issue is that is a deleted
store page has had its short code removed then it won’t be republished
and that page is still missing.
This fix catches pages that are in the trash but have no short code.
Those pages are now left in the trash and new page with the correct
short code is added in its place.
Fixes #8269
2015-06-16 12:31:15 +01:00