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
Mike Jolley
ecbf72632d
Unused code
2016-12-12 13:43:39 +00:00
Mike Jolley
2c6bef3ce1
Reverse query so missing stock status meta does not break sync
...
Fixes #12567
2016-12-12 13:37:51 +00:00
Mike Jolley
4d2364573c
Fix query spaces
2016-12-12 13:10:29 +00:00
Mike Jolley
0e72b87ca1
Allow comment editing.
...
Closes #12563
2016-12-12 13:00:08 +00:00
Mike Jolley
dcb5211adf
Clear woocommerce_plugin_background_installer event
2016-12-12 12:02:06 +00:00
Mike Jolley
306c4f8a2d
Merge pull request #12569 from webmandesign/patch-2
...
Fixing issue #12568
2016-12-12 11:20:16 +00:00
Mike Jolley
b463bcc4a0
Fix deprecated filter mapping
2016-12-12 10:58:27 +00:00
Oliver Juhas
6b5330e16e
Checking if we got the attachment post
...
Fixing issue #12568
2016-12-10 20:45:04 +01:00
Mike Jolley
df057abe88
Missing DISTINCT keyword
2016-12-10 12:51:15 +00:00
Mike Jolley
0ce99fbdbb
Merge pull request #12558 from woocommerce/crud-reduce-queries
...
CRUD reduce queries
2016-12-10 12:35:45 +00:00
Mike Jolley
40ab84b372
Merge pull request #12552 from woocommerce/cli
...
WooCommerce CLI
2016-12-09 17:12:51 +00:00
Mike Jolley
8bd08e4c21
typos
2016-12-09 17:04:44 +00:00
Mike Jolley
36f7c3c810
woocommerce_paypal_line_item filter
...
Closes #12554
2016-12-09 16:59:29 +00:00
Mike Jolley
87579c013d
Fix attribute output
...
Closes #12556
2016-12-09 16:43:22 +00:00
Mike Jolley
240c599b9c
Base transient name on query args
...
Fixes #12557
2016-12-09 16:27:54 +00:00
Mike Jolley
0ac6c3b03f
Use IDs to reduce queries
2016-12-09 15:54:58 +00:00
Mike Jolley
e0e0c9e832
Replace rating filters with taxonomy
2016-12-09 15:43:25 +00:00
Mike Jolley
861f9e7a20
update_object_term_cache for cart items
2016-12-09 13:16:15 +00:00
Mike Jolley
5df70d8458
Merge pull request #12546 from woocommerce/paypal-image-url
...
Add image_url setting to PayPal Standard.
2016-12-09 12:59:59 +00:00
Mike Jolley
5562cfc1f6
Lazy load product meta data
2016-12-09 12:18:21 +00:00
Justin Shreve
ec30c308c3
Add CLI tests
2016-12-08 14:13:10 -08:00
Justin Shreve
da1e14c087
Add WC CLI commands powered by the REST API.
2016-12-08 10:59:07 -08:00
Mike Jolley
563dda505a
Use real cache keys
2016-12-08 17:57:07 +00:00
Mike Jolley
709d314ca7
Add caching to product factory
2016-12-08 17:17:23 +00:00
Mike Jolley
767a1e500e
Helper to get term ids
2016-12-08 17:01:39 +00:00
Mike Jolley
90ff6705be
Only validate attachment IDs when set after read
2016-12-08 16:08:10 +00:00
Mike Jolley
12608af03a
Sorting handling
2016-12-08 14:28:51 +00:00
Mike Jolley
56e9244b8b
Update vis during create
2016-12-08 12:38:30 +00:00
Mike Jolley
edfc54dff5
Add image_url setting to PayPal Standard.
2016-12-08 12:28:05 +00:00
Mike Jolley
43d018bb97
Attributes are non-hierarchical by default (parent is not supported)
...
Closes #12530
2016-12-08 11:23:24 +00:00
Mike Jolley
4bacbaf90c
Fix completed and paid date meta keys.
2016-12-08 11:19:32 +00:00
Mike Jolley
47fbae4d26
Product Visibility Taxonomies ( #12527 )
...
* Convert visibility and featured to taxonomy
* Comment
* Add missing tax_queries
* Only check SKU after read.
* Added visibility term for outofstock products to speed those queries up al
* wc_bool_to_string
2016-12-08 10:56:45 +00:00
Mike Jolley
af3f735664
Merge pull request #12543 from woocommerce/tax-zip
...
Fix tax name typo and wrap with _escape.
2016-12-07 21:03:40 +00:00
Justin Shreve
f9891b1744
Pass product slug to wp_set_object_terms directly
2016-12-07 12:55:34 -08:00
Justin Shreve
63a29dd4db
Add 'locale' to list of customer meta keys, and update expected type for 'object' for gateways, products, and shipping zones to fix some API issues.
2016-12-07 12:23:23 -08:00
Justin Shreve
a315e174b7
Fix tax name typo and wrap with _escape.
2016-12-07 11:03:28 -08:00
Mike Jolley
5139c811d6
Merge pull request #12533 from woocommerce/rest-api-4.7
...
[2.6] API Fixes for 4.7
2016-12-07 18:51:47 +00:00
Mike Jolley
07932b4432
Merge pull request #12535 from woocommerce/fallbacks-for-endpoints
...
Fix lost password and account links
2016-12-07 18:18:40 +00:00
Mike Jolley
e8d119c42c
Feedback
2016-12-07 18:13:17 +00:00
Mike Jolley
a2263d2760
Type should be checked by name not slug
2016-12-07 18:08:59 +00:00
Mike Jolley
1ad852443b
Invalid type
2016-12-07 15:54:35 +00:00
Mike Jolley
7f234a0b63
Update array schema
2016-12-07 14:24:44 +00:00
Mike Jolley
cce08e6225
Indenting
2016-12-07 14:06:04 +00:00
Mike Jolley
9f85aa3869
Merge pull request #12489 from woocommerce/add/twenty-seventeen-support-new-method
...
Add/twenty seventeen support new method
2016-12-07 12:46:36 +00:00
Mike Jolley
6d908cfba2
Code cleanup and move class into subdirectory
2016-12-07 12:45:54 +00:00
Mike Jolley
d4fbda1d68
Put back array for arrays of objects
2016-12-07 12:20:56 +00:00
Mike Jolley
9a9d133fc3
Use correct endpoint for lost password link
2016-12-07 12:07:10 +00:00
Mike Jolley
fe9e89f3b7
wc_logout_url function
2016-12-07 12:04:44 +00:00
Mike Jolley
d9420e01d2
Fix themes_api fatal error
2016-12-07 11:37:00 +00:00
Mike Jolley
ba62599da0
Use objects, rather than arrays in schema when properties are defined
2016-12-07 11:36:46 +00:00
Mike Jolley
7583965af2
Use wp_list_sort vs _usort_terms_by_ID
...
Fixes #12525
2016-12-07 10:21:03 +00:00
Mike Jolley
3f1368153a
Merge pull request #12521 from woocommerce/plugins-url-assets-12477
...
Register scripts using plugins_url
2016-12-06 16:04:30 +00:00
James Koster
4daa5d133b
Add a utility function to check the active theme.
...
And check active theme before loading integration class
2016-12-06 12:14:00 +00:00
Mike Jolley
cb3b9fb02a
Merge branch 'pr/12510'
2016-12-06 11:52:23 +00:00
Mike Jolley
201f89b19a
Clean up template loader logic
2016-12-06 11:52:15 +00:00
Mike Jolley
ff05080208
Merge pull request #12462 from danielhuesken/fix_rest_setting_user_role
...
Set customer role for user if it not a customer on the current blog
2016-12-06 11:16:27 +00:00
Mike Jolley
070926f7e6
woocommerce_downloadable_file_hash filter
...
Closes #12444
2016-12-06 11:09:03 +00:00
Mike Jolley
7b739b9367
Register scripts using plugins_url
2016-12-05 18:34:30 +00:00
Mike Jolley
4bd05c7396
Combine 2 address loops
2016-12-05 16:08:51 +00:00
Mike Jolley
162aa986b6
Fix tests
2016-12-05 14:21:09 +00:00
Mike Jolley
4130ae0e1f
Merge pull request #12520 from woocommerce/feedback-12495
...
2.7 CRUD Feedback
2016-12-05 13:47:58 +00:00
Mike Jolley
ad7d8c14dc
Do not suffix when ranges are used.
2016-12-05 13:44:21 +00:00
Mike Jolley
1f04cf9dc0
Comment on has_all_attributes_set
2016-12-05 13:15:25 +00:00
Mike Jolley
2780688a70
wc_get_price_html_from_text
2016-12-05 13:13:30 +00:00
Mike Jolley
3975054acd
Reindex after clear.
2016-12-05 13:06:14 +00:00
Kalen Johnson
2d7e6e7206
Filter the template loader files
...
Over at Roots we've been working on implementing Laravel's Blade templating engine with the next release of the Sage theme. The filters for the template hierarchy coming in WP 4.7 are going to be very valuable. Looking to accomplish the same thing with 3rd party plugins as well.
A theme using a templating engine would still be able to filter the default templates such as `archive-product.php`, however keeping the functionality that including a `woocommerce.php` file would be nice to be able to use as well.
This PR I believe adds the ability to add a file similar to `woocommerce.php` while not allowing anyone to filter any of the extra functionality away from Woocommerce.
2016-12-03 10:16:18 -08:00