Jon Surrell
d4e8bb82e6
Remove new handler arguments from `wc_register_default_log_handler`
2016-12-29 11:58:43 +01:00
Jon Surrell
970a33e182
Cleanup log list table view
...
Format log timestamp.
Add is_valid_level check to $_REQUEST level filter.
General cleanup: formatting, layout, commentary.
2016-12-29 11:58:43 +01:00
Jon Surrell
aee5917440
Change wc_safe_dump to wc_print_r
...
Match print_r arguments, this makes usage obvious.
2016-12-29 11:58:43 +01:00
Jon Surrell
2ae1bc1ab2
Protect methods
2016-12-29 11:58:43 +01:00
Jon Surrell
fe837c5113
Aggregate email handler messages (max: 1 email/request/handler)
...
Update emails accordingly.
Update email handler tests.
2016-12-29 11:58:43 +01:00
Jon Surrell
acc98a1d6a
Mark WC_Log_Handler::format_entry abstract
2016-12-29 11:58:43 +01:00
Jon Surrell
5f24eca7e2
Add delete to db log viewer table
...
Clean up some nonce logic.
Use a single <form> containing log table.
2016-12-29 11:58:43 +01:00
Jon Surrell
9ba616b2c1
Return single instance from wc_get_logger
...
Remove class include from wc_get_logger (should be autoloaded).
Add tests for wc_get_logger.
2016-12-29 11:58:43 +01:00
Jonathan Surrell
4318b3aa53
Improve @return signature on WC_Log_Handler::handle
...
Make meaning of returned bool explicit.
Update WC_Log_Handler_Email::handle accordingly.
via https://github.com/woocommerce/woocommerce/pull/12575#pullrequestreview-12381573
2016-12-29 11:58:43 +01:00
Jon Surrell
81eaa5ae17
Make lot threshold strings translatable
2016-12-29 11:58:43 +01:00
Jon Surrell
080cf8e436
Store log levels as integer representations in database
...
This will allow indexed ordering by severity.
Add WC_Log_Levels::get_severity_level method to translate severity
integers to level strings. The inverse of WC_Log_Levels::get_level_severity.
Add context to tests.
2016-12-29 11:58:43 +01:00
Jon Surrell
78e6cb31a7
Include WC_Log_Handler with other abstracts
2016-12-29 11:58:43 +01:00
Jon Surrell
825d9c9f82
Fix spelling
2016-12-29 11:58:43 +01:00
Jon Surrell
88836b9cca
Drop WP_DEBUG override threshold. Improve logger tests.
...
This may be unexpected behavior for a user, their level is overridden with no
way to change it. It also greatly complicates testing default thresholds.
Dependency on WC_Log_Handler_File has been removed from logger tests.
2016-12-29 11:58:43 +01:00
Jon Surrell
2626c5b3af
Accept explicit handlers and threshold in WC_Logger
2016-12-29 11:58:43 +01:00
Jon Surrell
be38e8f2fe
Add log threshold setting to settings page
2016-12-29 11:58:43 +01:00
Jon Surrell
ffd0d380ee
Remove threshold logic from handlers.
...
Email handler implements threshold logic internally. Other handlers handle all logs received.
Handler constructors have changed.
2016-12-29 11:58:43 +01:00
Jon Surrell
2945b4755f
Add more information about log levels
2016-12-29 11:58:43 +01:00
Jon Surrell
85fa9df7fe
Drop "bubbling" support for logs
...
The concept of bubbling or consuming logs has little benefit for our use case.
Drop support for bubbling and simplify logging.
2016-12-29 11:58:43 +01:00
Jon Surrell
4f77954bc7
Move log levels to independent class
2016-12-29 11:58:43 +01:00
Jon Surrell
ae72ce24c4
Drop `var_dump` as safe dump alternative
...
var_dump does not support returning string representation.
2016-12-29 11:58:43 +01:00
Jon Surrell
d88ea4ecea
Spelling and doc fixes
2016-12-29 11:58:43 +01:00
Jon Surrell
0f13cca921
Use autoloader for log handlers
2016-12-29 11:58:43 +01:00
Jon Surrell
e2f76bcd54
Fix logs-db redirects
2016-12-29 11:58:42 +01:00
Jon Surrell
c633db9d65
Add woocommerce_default_log_handler setting
...
Adds configuration to settings page
Show status-logs page based on settings (unify logs & database logs)
Register default log handler by default
2016-12-29 11:58:42 +01:00
Jon Surrell
44ec07902d
Add confirmation to db log flush
2016-12-29 11:58:42 +01:00
Jon Surrell
9d80017308
Mark db handler add method as static
2016-12-29 11:58:42 +01:00
Jon Surrell
c945d727d5
Add log flushing to db log viewer
2016-12-29 11:58:42 +01:00
Jon Surrell
5e9d4189fb
Include missing 5 in log level severities
2016-12-29 11:58:42 +01:00
Jon Surrell
e42d2e61fd
Update print_r to use wc_safe_dump
2016-12-29 11:58:42 +01:00
Jon Surrell
691c35e97b
Update logger calls
2016-12-29 11:58:42 +01:00
Jon Surrell
66b0620f7c
remove print_r calls from paypal handler
2016-12-29 11:58:42 +01:00
Jon Surrell
96f9de2106
update paypal gateway logs
2016-12-29 11:58:42 +01:00
Jon Surrell
36201d38ec
Update paypal gateway log method
2016-12-29 11:58:42 +01:00
Jon Surrell
7a3c6bcc0c
Fix phpcs issues
2016-12-29 11:58:42 +01:00
Jon Surrell
915266f967
Add wc_safe_dump function
...
Some "safe" server configurations disable certain functions. `wc_safe_dump` attempts to
safely call a series of alternatives suitable for dumping an expression.
2016-12-29 11:58:42 +01:00
Jon Surrell
a0670cfae8
Add woocommerce_format_log_entry filter to base WC_Log_Handler class
2016-12-29 11:58:42 +01:00
Jon Surrell
2283956db6
Provide correct class name to woocommerce_log_handler_set_threshold filter
2016-12-29 11:58:42 +01:00
Jon Surrell
0c5634c99f
Version 1.0.0 for abstract wc log handler
2016-12-29 11:58:42 +01:00
Jon Surrell
d6a6b8771d
Add level views to db log table
2016-12-29 11:58:42 +01:00
Jon Surrell
30fdca65a9
Log viewer via html template
2016-12-29 11:58:42 +01:00
Jon Surrell
bc3f788507
Implements database log viewer
2016-12-29 11:58:42 +01:00
Jon Surrell
f761183363
Update @package for log handlers
2016-12-29 11:58:42 +01:00
Jon Surrell
5a9db9738f
Add DB log handler
2016-12-29 11:58:42 +01:00
Jon Surrell
09ea8b074e
Prefer PHP_EOL over "\n"
2016-12-29 11:58:42 +01:00
Jon Surrell
822981c009
Improve handle signature
...
The signature of WC_Log_Handler::handle mirrors log messages which is more intuitive.
Method docblocks have also been improved and are more complete.
2016-12-29 11:58:42 +01:00
Jon Surrell
e7d6a9a48b
Rotate logs
...
WC_Log_Handler_File now includes log rotation.
Add and improve tests.
2016-12-29 11:58:42 +01:00
Jon Surrell
2a6c95b490
Prevent possible undefined index warning
2016-12-29 11:58:42 +01:00
Jon Surrell
75c3e5e8c6
Fix phpcs warning
2016-12-29 11:58:42 +01:00
Jon Surrell
9adb64b6b9
Restore log deletion from admin log viewer page
...
WC_Logger no longer controls logging and has no knowledge of files.
Correctly handle `remove_log` action via file log handler.
2016-12-29 11:58:42 +01:00
Jon Surrell
b645fa06b7
Improve logic for legacy `->add` message formatting
...
Suggestion via https://github.com/woocommerce/woocommerce/pull/12340#discussion_r88318220
2016-12-29 11:58:42 +01:00
Jon Surrell
ad03597a3d
Simplify default log entry format
...
Remove punctuation. Space separate values:
TIMESTAMP LEVEL MESSAGE
2016-12-29 11:58:42 +01:00
Jon Surrell
611577320f
Include site name in log email message
...
Suggestion via https://github.com/woocommerce/woocommerce/pull/12340#discussion_r88213040
2016-12-29 11:58:42 +01:00
Jon Surrell
f0508a0fc6
Improve log email message format.
...
Suggestion via https://github.com/woocommerce/woocommerce/pull/12340#pullrequestreview-8895028
2016-12-29 11:58:42 +01:00
Jon Surrell
e4c08aa03a
Remove optional from required log handler context array
2016-12-29 11:58:42 +01:00
Jon Surrell
722b288b79
Remove _ from private/protected properties
2016-12-29 11:58:42 +01:00
Jon Surrell
fe02d44e31
Defauly log file level is DEBUG
2016-12-29 11:58:42 +01:00
Jon Surrell
b2935f35ed
Fix file handle regression
2016-12-29 11:58:42 +01:00
Jon Surrell
6ec75d8c2e
Change defualt log handler threshold to DEBUG following discussion with team members.
2016-12-29 11:58:42 +01:00
Jon Surrell
b5cebcab6c
Fix scrutinizer issues
2016-12-29 11:58:42 +01:00
Jon Surrell
d5d1ab16ea
Fix docblocks
2016-12-29 11:58:42 +01:00
Jon Surrell
c5c0563f7c
Restore deprecated functions WC_Logger::clear & WC_Logger::remove
...
Also updates clear test to supply required argument.
2016-12-29 11:58:42 +01:00
Jon Surrell
36873e5097
Provide basic messages for email log handler
2016-12-29 11:58:42 +01:00
Jon Surrell
479ef85cd8
Add email log handler
2016-12-29 11:58:42 +01:00
Jon Surrell
864e65de10
Remove redundant __constructor
2016-12-29 11:58:42 +01:00
Jon Surrell
4262a72af6
Use wp_parse_args for default args
2016-12-29 11:58:42 +01:00
Jon Surrell
9dc30a7203
Remove 2nd filter parameter that would never be called
2016-12-29 11:58:42 +01:00
Jon Surrell
44ea69c579
Adds tests for bubbling, etc.
...
Add tests teardown to cleanup log files
Fix errors in log handlers
2016-12-29 11:58:42 +01:00
Jon Surrell
0e0433195d
Add logic for log level filtering to `WC_Log_Handler`.
2016-12-29 11:58:42 +01:00
Jon Surrell
9a0efcfe55
Add abstract WC_Log_Handler class
...
Abstract base class is implemented with default formatting implementations.
`$timestamp` has been added to the `WC_Log_Handler::handle` implementation. This ensures all handlers are passed the same timestamp for the same message.
`_legacy` context has been added to `WC_Log_Handler_File` to ensure handle deprecated `WC_Logger::add` provides the same log entries as before.
Fix CS problems.
2016-12-29 11:58:42 +01:00
Jon Surrell
a2cce14711
Register file log handler by default
...
Add wc_register_file_log_handler function.
Calls add_filter with register function to include handler by default
2016-12-29 11:58:42 +01:00
Jon Surrell
d9dcabf8f2
WC_Logger registers and delegates logging to handlers
2016-12-29 11:58:42 +01:00
Jon Surrell
e922efb0f7
Extract file log handler
2016-12-29 11:58:42 +01:00
Krzysztof Grabania
3a54b24fa1
Added email ID to locate core template for email
...
This PR adds email id to `woocommerce_locate_core_template` filter. It would be useful for custom emails created by plugins, which have got default email templates.
2016-12-28 20:38:51 +01:00
Manos Psychogyiopoulos
96d7272065
include parent if entering variation id and variations excluded
2016-12-28 16:44:57 +02:00
Manos Psychogyiopoulos
5fa4846f5e
fix inclusion of variation included in product search
2016-12-28 16:41:21 +02:00
Manos Psychogyiopoulos
b5c56737c5
merge branch 'master' into fix-product-search-get-post-parent-fatal-error
2016-12-27 10:57:52 +02:00
Manos Psychogyiopoulos
be436b629d
fix include field typo
2016-12-27 10:36:44 +02:00
Manos Psychogyiopoulos
ae9f4eacc4
fix get_post_parent fatal error
2016-12-27 10:34:32 +02:00
Claudio Sanches
539099c7d7
Include $endpoint in woocommerce_endpoint_X_title filter #12676
2016-12-25 20:43:25 -02:00
Mike Jolley
daea231ab7
Merge pull request #12666 from woocommerce/select2-4
...
Upgrade Select2 to V4
2016-12-24 14:40:09 +00:00
Mike Jolley
6b511e84be
Sorting
2016-12-23 15:14:27 +00:00
Mike Jolley
e9be3a425a
Handle search params in filters
...
Closes #12685
2016-12-23 14:45:58 +00:00
Mike Jolley
a3f8ffb101
Ensure price is set
2016-12-23 14:30:47 +00:00
Mike Jolley
a2a16a2ec0
Merge pull request #12683 from franticpsyx/shipping-rate-taxes-array-not-saved
...
[2.7] Shipping order item taxes array not saved on checkout
2016-12-23 14:19:43 +00:00
Mike Jolley
859727d462
Merge pull request #12678 from franticpsyx/rest-api-set-order-item-action
...
[2.7] Add 'woocommerce_rest_set_order_item' REST API hook
2016-12-23 14:18:31 +00:00
Mike Jolley
e8b1fe1bf2
Merge pull request #12679 from franticpsyx/rest-api-totals-excl-tax
...
[2.7] Calculate REST order item totals excluding tax if undefined (?)
2016-12-23 14:17:07 +00:00
Mike Jolley
377bbf7767
Merge branch 'master' into read-price-data-caching
2016-12-23 14:08:08 +00:00
Mike Jolley
ceee6c37ca
Change how non-crud props get stored
2016-12-23 14:06:51 +00:00
Mike Jolley
99527e8013
Merge pull request #12680 from franticpsyx/remaining-incorrect-inline-comments
...
[2.7] Remaining inline comments about pointers
2016-12-22 22:37:33 +00:00
Mike Jolley
364d4bd82c
Merge pull request #12675 from maciekkus/feature/make-tax-includes-text-consistient
...
Make 'includes tax' text wrapping with <small> tag consistient across order and cart table
2016-12-22 22:37:06 +00:00
Maciej Kuś
e5bae8b7af
space preserved before "included_tax" small element
2016-12-22 20:05:46 +01:00
Manos Psychogyiopoulos
d7afab3930
fix saving of shipping order item taxes on checkout
2016-12-22 20:49:42 +02:00
Manos Psychogyiopoulos
40bf6afc29
fix incorrect inline comments
...
Ref: 01aba1fd2b
2016-12-22 19:41:23 +02:00
Manos Psychogyiopoulos
42e09eac32
make rest api order item totals - always excl tax
2016-12-22 19:23:07 +02:00
Manos Psychogyiopoulos
0d6eae5fca
add 'woocommerce_rest_set_order_item' hook
2016-12-22 17:56:14 +02:00
Mike Jolley
01aba1fd2b
Incorrect inline comments
2016-12-22 15:06:10 +00:00
Mike Jolley
03b581f72e
Refunds API/get_data() missing ID
...
Fixes #12672
2016-12-22 14:52:37 +00:00
Mike Jolley
f3dc355632
Check post data is set
...
Closes #12670
2016-12-22 14:41:39 +00:00
Mike Jolley
8f49724b17
Merge pull request #12674 from franticpsyx/rest-api-set-order-item-meta
...
[2.7] REST order item meta not intercepted
2016-12-22 14:38:39 +00:00
Mike Jolley
8f43bb2a6c
Merge pull request #12676 from widoz/master
...
Move the 'woocommerce_endpoint_' . $endpoint . '_title' filter
2016-12-22 14:34:27 +00:00
Mike Jolley
6861131d8f
Fix version check
2016-12-22 14:30:47 +00:00
Mike Jolley
d5b346fc40
Variation specific backwards compatibility
2016-12-22 14:30:47 +00:00
Guido Scialfa
440d407ce5
Move the 'woocommerce_endpoint_' . $endpoint . '_title' filter outside of the default condition, let's filter the titles regardless of the endpoint
2016-12-22 15:25:22 +01:00
Mike Jolley
fd45160439
Merge pull request #12667 from franticpsyx/product-variation-hook-prefix
...
[2.7] Fix product variation hook prefix for consistency
2016-12-22 13:50:38 +00:00
Mike Jolley
c0dd1146ab
Merge pull request #12668 from franticpsyx/woocommerce-get-product-from-item-order-arg
...
[2.7] Use get_order instead of creating object in woocommerce_get_product_from_item args
2016-12-22 13:29:12 +00:00
Maciej Kuś
53c7c4025f
includes tax wrapping <small> consistient across order and cart table
2016-12-22 13:56:29 +01:00
Manos Psychogyiopoulos
dae45b8a29
fix paren position
2016-12-22 14:10:36 +02:00
Manos Psychogyiopoulos
6fc59cf2dc
set REST order item meta
2016-12-22 12:29:57 +02:00
Manos Psychogyiopoulos
02abc9b9eb
use get_order instead of creating new object when applying woocommerce_get_product_from_item
2016-12-21 21:01:47 +02:00
Manos Psychogyiopoulos
63a4cf41d0
fix product variation hook prefix for consistency
2016-12-21 18:06:42 +02:00
Mike Jolley
92968492a0
Customer search
2016-12-21 14:18:33 +00:00
Mike Jolley
96877dbb25
Fix product search inputs
2016-12-21 13:23:26 +00:00
Mike Jolley
56fef5b4f6
More styling settings tweaks
2016-12-21 11:36:48 +00:00
Manos Psychogyiopoulos
1b65b793d2
fix non-object error when clearing transients
2016-12-20 22:29:17 +02:00
Mike Jolley
badf8d7d55
Add select2 script and CSS
2016-12-20 16:45:22 +00:00
Mike Jolley
906499bbb8
woocommerce_ajax_get_customer_details filter and deprecation notice
...
Closes #12654
2016-12-20 16:02:38 +00:00
Mike Jolley
0c65505b1e
Merge pull request #12650 from franticpsyx/deprecate-order-item-qty
...
[2.7] Add backwards compatibility for old order item 'qty' field
2016-12-20 15:49:14 +00:00
Mike Jolley
c29d597986
Merge pull request #12649 from woocommerce/save-actions
...
Add actions for all object types
2016-12-20 15:44:51 +00:00
Mike Jolley
50b1a9d378
woocommerce_update_order
2016-12-20 15:44:37 +00:00
Mike Jolley
13086ba7cd
no class cost logic should only kick in if store has shipping classes.
2016-12-20 15:40:05 +00:00
Mike Jolley
d3709ce0ef
HTTP_X_COUNTRY_CODE
2016-12-20 15:24:30 +00:00
Mike Jolley
6858824de1
missing variable
2016-12-20 13:37:20 +00:00
Mike Jolley
0300464613
Use accounting.js in price slider widget
2016-12-20 13:11:09 +00:00
Mike Jolley
2f9aeed248
Missing variable
2016-12-20 12:48:13 +00:00
Mike Jolley
f67f013957
[2.6] VIP fallback
2016-12-20 11:37:36 +00:00
Mike Jolley
c4cf6ba740
[2.6] Change API fallbacks
2016-12-20 11:37:36 +00:00
Mike Jolley
2ebd83aa2d
Merge pull request #12653 from shivapoudel/blank-state-trash-btn
...
Hide "Empty Trash" button in blank state after removing all data
2016-12-20 11:09:52 +00:00
Mike Jolley
bc24a2e854
BW compat for variable naming
...
@webaware
2016-12-20 11:07:31 +00:00
Mike Jolley
23c500986e
Limit lengths of PayPal Args
2016-12-20 10:58:10 +00:00
Shiva Poudel
d20cdd2830
Hide "Empty Trash" button in blank slate after removing all data
2016-12-20 12:15:17 +05:45
Manos Psychogyiopoulos
e2651d730d
back compat for old order item 'qty' field
2016-12-20 01:06:39 +02:00
Mike Jolley
54ca822e57
Fix variable names
2016-12-19 17:13:25 +00:00
Mike Jolley
20680203bb
Add actions for all object types
2016-12-19 17:09:52 +00:00
Mike Jolley
c78e5cf2ec
Trigger actions after data is saved
...
#12648
2016-12-19 16:40:53 +00:00
Mike Jolley
1795a0f9c3
Remove virtual products from shipping packages
...
Closes #12628
2016-12-19 16:17:50 +00:00
Mike Jolley
a41f9d6ec4
Make sure shipping address is set if needed
2016-12-19 15:42:53 +00:00
Mike Jolley
e5c18fd6e4
Fix currency check unit tests
2016-12-19 15:11:25 +00:00
Mike Jolley
910d6d9900
Store custom checkout fields prefixed with shipping or billing in meta
...
Closes #12634
2016-12-19 14:51:56 +00:00
Mike Jolley
218689d9c3
woocommerce_order_data_store_cpt_get_orders_query
...
Closes #12643
2016-12-19 14:24:20 +00:00
Mike Jolley
b81b6c1a44
Create text terms if they do not exist
...
Closes #12631
2016-12-19 13:09:45 +00:00
Mike Jolley
51fc839515
Merge pull request #12645 from MA7/patch-1
...
Update wc-core-functions.php
2016-12-19 12:50:12 +00:00
Masoud Amini
7fac0156fe
Update wc-core-functions.php
2016-12-19 16:10:11 +03:30
Mike Jolley
3f7c1c7087
Fix email address field
...
Fixes #12642
2016-12-19 12:19:44 +00:00
Mike Jolley
587334a567
Merge branch 'pr/12639'
2016-12-19 11:59:17 +00:00
Mike Jolley
5ae62959d8
Notices
2016-12-19 11:59:10 +00:00
Mike Jolley
0246172806
Action comments
2016-12-19 11:58:00 +00:00
Mike Jolley
2e77e38d33
colour -> color
...
#12627
2016-12-19 11:41:48 +00:00
Manos Psychogyiopoulos
87bb9adf08
use CRUD to add line item meta
2016-12-19 13:27:32 +02:00
Mike Jolley
81f4cadf12
Merge pull request #12646 from franticpsyx/add-shipping-package-details-filter
...
Missing commit in #12632 - index package item names by cart item id
2016-12-19 11:23:52 +00:00
Mike Jolley
9617030610
Merge remote-tracking branch 'origin/master'
2016-12-19 11:23:03 +00:00
Mike Jolley
e974682218
Merge branch 'pr/12641'
2016-12-19 11:22:58 +00:00
Mike Jolley
5fc67bbd0c
Unset changes
2016-12-19 11:22:43 +00:00
Mike Jolley
c980817f6d
Merge pull request #12637 from franticpsyx/additional-information-tab-action
...
[2.7] Use 'woocommerce_product_additional_information' action to render attributes
2016-12-19 10:59:15 +00:00
Masoud Amini
72856b1b60
Update wc-core-functions.php
2016-12-19 14:23:56 +03:30
Manos Psychogyiopoulos
62ed6ee9d8
index package item names by cart item id
2016-12-19 12:52:02 +02:00
Manos Psychogyiopoulos
48bf909fa2
use getters/setters in order item offsetset/get
2016-12-18 20:31:52 +02:00
Manos Psychogyiopoulos
03fac5231f
set order item object as read after reading child class data
2016-12-18 20:04:14 +02:00
Manos Psychogyiopoulos
f0aa493a98
order id omitted from woocommerce_add_shipping_order_item args
2016-12-18 18:39:37 +02:00
Manos Psychogyiopoulos
7751264a2a
package not passed in woocommerce_add_shipping_order_item action
2016-12-18 18:36:04 +02:00
Manos Psychogyiopoulos
3a8eae195b
maintain order item meta action hooks
2016-12-18 18:13:11 +02:00
Manos Psychogyiopoulos
af3c24881d
render product attributes in 'woocommerce_product_additional_information' action
2016-12-18 00:53:45 +02:00
Manos Psychogyiopoulos
5bfe614668
add 'woocommerce_shipping_package_details_array' filter
2016-12-17 14:47:43 +02:00
Mike Jolley
a9a21bf9e0
Fix sale date series
...
Fixes #12609
2016-12-16 12:35:33 +00:00
Mike Jolley
d46d00bd08
Order numbers should be a string
...
Closes #12616
2016-12-16 11:49:00 +00:00
Mike Jolley
020a7b518f
Fix API set of reviews_allowed
...
#12618
2016-12-16 11:24:11 +00:00
Mike Jolley
758f3a21a4
Typo
2016-12-16 10:36:21 +00:00
pmaiorana
822c1353af
Removes the State/Province field for Kuwait and Lebanon
...
As noted in support ticket #507320 (and verified) neither Kuwait nor Lebanon have States/Provinces.
2016-12-15 16:34:43 -05:00
Claudio Sanches
0da2f70e13
Fixed coding standards
2016-12-15 15:11:08 -02:00
Claudio Sanches
485c89ee99
Fixed wrong textdomain
2016-12-15 14:44:43 -02:00
Mike Jolley
d52a126eb2
Remove bulk_action callback
2016-12-15 15:55:40 +00:00
Mike Jolley
61605e893b
Remove legacy code and add correct callback
...
#12476
2016-12-15 15:51:54 +00:00
Claudio Sanches
e5290fef79
Merge pull request #12604 from woocommerce/fix-12509
...
[2.6] [REST API] Throw exception when product image ID is not a valid attachment
2016-12-15 13:43:56 -02:00
Mike Jolley
cbc18258e6
Cast found posts to int
...
Fixes #12608
2016-12-15 15:24:35 +00:00
Mike Jolley
dcc47e395f
Add email for case #12603
...
Closes #12603
2016-12-15 15:21:53 +00:00
Mike Jolley
53436d2043
No need to update totals
...
#12237
2016-12-15 15:07:48 +00:00
Mike Jolley
cf0943fda9
Fix term sorting
...
Closes #12602
2016-12-15 14:09:01 +00:00
Mike Jolley
3c06dab0e8
Change action order to be compat with 2.6
...
Closes #12606
2016-12-15 13:08:25 +00:00
Mike Jolley
ad4704f02d
Variations script refactor from #12585
...
Applying this to master to match 2.6 PR
2016-12-15 12:58:41 +00:00
Mike Jolley
e1ec8fb9db
Merge pull request #12598 from woocommerce/percent-coupon-types
...
Merging percent based coupon types
2016-12-15 11:09:54 +00:00
Claudio Sanches
af52cf4f73
[2.6] [REST API] Throw exception when product image ID is not a valid attachment
2016-12-14 21:11:50 -02:00
Claudio Sanches
91d8230c5d
Merge pull request #12599 from woocommerce/bulk-labels
...
More explicit bulk price labels
2016-12-14 18:17:09 -02:00
Claudio Sanches
9d8b45087f
Merge pull request #12577 from woocommerce/checkout-locale-simplification
...
Add sort parameter to checkout fields to aid with sorting per locale.
2016-12-14 17:34:15 -02:00
Mike Jolley
66be50ba72
More explicit bulk price labels
2016-12-14 12:06:46 +00:00
Mike Jolley
7873a328ce
Rewrite should be false
...
Closes #12589
2016-12-14 11:28:26 +00:00
Mike Jolley
7806ac4edf
Missing data store
...
Fixes #12588
2016-12-14 11:26:21 +00:00
Mike Jolley
3e2a758c65
Fix meta data read
2016-12-14 11:23:17 +00:00
Mike Jolley
18920bd55e
Remove validate_cart_excluded_sale_items
2016-12-14 11:17:22 +00:00
Mike Jolley
b5f9d6b6eb
Merge percent and cart percent coupon types
2016-12-14 11:07:08 +00:00
Mike Jolley
f29288b542
Fix default attribute saving
2016-12-13 20:03:00 +00:00
Mike Jolley
b5da116ed9
Fix check in dad7dcbf4b
2016-12-13 18:54:06 +00:00
Mike Jolley
d32797b733
Handle BW compat priority.
2016-12-13 18:48:39 +00:00
Claudio Sanches
a9f8ccd77c
Merge pull request #12583 from woocommerce/cli-updates
...
Update CLI callback
2016-12-13 14:18:34 -02:00
Mike Jolley
95794b720c
Only set date_created if empty
...
Fixes #12579
2016-12-13 14:22:59 +00:00
Mike Jolley
d441e34ef5
Support template option
...
Closes #12544
2016-12-13 14:02:52 +00:00
Mike Jolley
9651a1d3fc
Update CLI callback
2016-12-13 13:38:20 +00:00
Mike Jolley
dad7dcbf4b
Check IPV6 support and add log
...
Closes #12580
2016-12-13 12:35:25 +00:00
Mike Jolley
6cf565c122
IDs for products were stored as strings in legacy
2016-12-12 15:29:53 +00:00
Mike Jolley
74f3972e26
Add sort parameter to checkout fields to aid with sorting per locale.
2016-12-12 15:23:28 +00:00
Mike Jolley
1e80db6021
Force meta to be written on creation
...
#12567
2016-12-12 13:56:35 +00:00