Claudio Sanches
f9fb149551
Allow filter orders by customer id, closes #9162
2015-09-21 19:11:54 -03:00
Claudio Sanches
1522a4d87b
Added download-url class in WC_Abstract_Order::display_item_downloads(), closes #9158
2015-09-21 18:28:03 -03:00
Claudio Sanches
dc30ffcd60
Created woocommerce_upsell_display_args filter, closes #9185
2015-09-21 17:30:37 -03:00
Claudio Sanches
ae7bb7d397
Merge pull request #9157 from siliconforks/issue-9156
...
Trim leading plus sign and "1" digit from US/CA phone numbers
2015-09-21 17:09:57 -03:00
Claudio Sanches
c4a845e9ac
Merge pull request #9178 from krautnerds/fix-report-chart-highlighting
...
[2.4] Fixed wrong highlighting of reports chart
2015-09-21 16:50:24 -03:00
Claudio Sanches
63b389d21c
Merge pull request #9181 from woothemes/issues/8721-fix-network-activated-plugins-not-showing-up
...
Fix network activated plugins not showing up in system status report.
2015-09-21 16:43:40 -03:00
Claudio Sanches
ebc0996f4c
[2.4] Show tax fields in product bulk edit only when tax is enabled
2015-09-21 16:36:46 -03:00
Claudio Sanches
d07441f518
[2.4] Show tax fields in product quick edit only when tax is enabled
2015-09-21 16:03:03 -03:00
Akeda Bagus
7490600de5
Fix network activated plugins not showing up in system status report.
...
The array returned by `get_site_option( 'active_sitewide_plugins' )` has
plugin file as array's key while array returned by `get_option( 'active_plugins' )`
has plugin file as array's value.
Fixes #8721
2015-09-20 23:35:03 -05:00
Florian Ludwig
7d2d102dc4
Fixed wrong highlighting of reports chart
...
The highlight data attributes were totally messed up - Fixed them
according to the current sorting of the graph series
2015-09-20 18:12:31 +02:00
Claudio Sanches
f6e828e359
[2.3] unslash shipping label, closes #9160
2015-09-18 12:28:13 -03:00
Claudio Sanches
daf371052c
Missing ) on order screen for customers select2
2015-09-18 12:21:55 -03:00
Nicolae Vartolomei
e15a4367bd
Rename action that is executed after permission deletion (typo)
2015-09-18 16:50:26 +03:00
Nicolae Vartolomei
c415d1554c
Remove downloadable permissions on permanent order deletion
2015-09-18 16:41:50 +03:00
Claudio Sanches
e075552604
Merge branch 'master' of github.com:woothemes/woocommerce
2015-09-18 02:18:28 -03:00
Claudio Sanches
52787c282c
[2.3] Prevent "Trying to get property of non-object" in Sensei
2015-09-18 02:18:15 -03:00
Silicon Forks
b73fce8dca
Trim leading plus sign and "1" digit from US/CA phone numbers
...
Fixes #9156 .
2015-09-17 18:58:49 -03:00
Mike Jolley
a175638032
[2.4] unslash file URL
2015-09-17 16:18:11 +01:00
Mike Jolley
0c56fe0844
Merge pull request #9149 from JeroenSormani/stock-changes
...
Add get_stock_quantity filter
2015-09-17 10:57:47 +01:00
JeroenSormani
cb75a1e8af
Add get_stock_quantity filter
2015-09-17 10:19:04 +02:00
Claudio Sanches
c739f395ce
[2.4] [API] Improved the way are used for non-global attributes for variations
2015-09-17 02:57:04 -03:00
roykho
f5f61da4e9
fixes a case were there are orphaned variations and trying to call the parent that doesn't exist
2015-09-16 08:49:18 -07:00
Claudio Sanches
4c286272af
Merge pull request #8808 from SiR-DanieL/shortcodes-category
...
Added args category to some shortcodes
2015-09-16 12:07:48 -03:00
Mike Jolley
83838358fe
Revert "Merge pull request #8768 from SiR-DanieL/session-delete"
...
This reverts commit f63c500848
, reversing
changes made to 2a31d1fe98
.
2015-09-16 13:38:28 +01:00
Mike Jolley
7a3bd70c8b
Allow bulk edit price to 0
...
Fixes #9143
2015-09-16 13:20:59 +01:00
Mike Jolley
f63c500848
Merge pull request #8768 from SiR-DanieL/session-delete
...
Instroducing WC_Session::delete
2015-09-16 10:34:51 +01:00
Nicola Mustone
7d6bf488c9
using unset also in the magic method
2015-09-16 11:34:22 +02:00
Nicola Mustone
6bc17c65c8
delete to unset
2015-09-16 11:34:03 +02:00
Nicola Mustone
ffc941fcb1
rebase shortcakes category
2015-09-16 09:26:30 +02:00
Claudio Sanches
2a31d1fe98
Merge branch 'master' of github.com:woothemes/woocommerce
2015-09-15 22:06:18 -03:00
Claudio Sanches
8ed7754e49
Fixed strings with "MasterCard", closes #9142
2015-09-15 22:06:02 -03:00
Claudio Sanches
ab921ea82c
Merge pull request #9088 from khag7/khag7-patch-1
...
Filter the array which determines what classes are applied to an order note
2015-09-15 20:01:33 -03:00
Claudio Sanches
f7d035e739
Merge pull request #9084 from rchq/patch-1
...
Added an action for notifications
2015-09-15 19:59:16 -03:00
Claudio Sanches
ebedba7906
Merge pull request #9081 from helgatheviking/filter-admin-order-item-thumbnails
...
Add `woocommerce_admin_order_item_thumbnail` filter in admin
2015-09-15 19:58:23 -03:00
Claudio Sanches
f447a66281
Introduces woocommerce_update_new_customer_past_order action, closes #9078
2015-09-15 19:56:59 -03:00
Claudio Sanches
7e63374aaf
Merge pull request #8735 from shivapoudel/backbone-modal
...
Allow support for variable in backbone modal template in extensions
2015-09-15 19:44:50 -03:00
Claudio Sanches
376b13aece
[API] Sanitize product image alt attribute
2015-09-15 14:25:43 -03:00
Claudio Sanches
d7c25e3051
Merge pull request #9136 from mikaelmattsson/master
...
Make the image properties alt and title writable in the REST API v3, closes #8860
2015-09-15 13:15:20 -03:00
James Koster
82f8b61418
make it clearer that variation drag/drop only applies to the backend. closes #9104
2015-09-15 17:05:55 +01:00
Mike Jolley
4e063fb069
Merge pull request #8925 from shivapoudel/hidden-meta-boxes
...
Hides 'custom fields' section by default in product
2015-09-15 16:47:05 +01:00
Mike Jolley
cc875d7b94
Merge pull request #8939 from SiR-DanieL/_x
...
Added some comments on translations
2015-09-15 16:45:39 +01:00
Mike Jolley
3e55364e3a
Merge pull request #8940 from woothemes/issues/8482
...
Tidy up how we're dealing with coupon postmeta around `_used_by` which can get big.
2015-09-15 16:42:51 +01:00
Mikael Mattsson
d3302a9fa8
Merge branch 'master' of https://github.com/woothemes/woocommerce
...
# By Akeda Bagus (4) and Beka Rice (1)
# Via Mike Jolley (3) and others
* 'master' of https://github.com/woothemes/woocommerce :
Added more products query filter for REST API.
Added support to GET, POST, PUT, and DELETE tags.
Added support to POST, PUT, and DELETE categories.
Added API support for product shipping classes.
[2.5] Filter when purchase note is showed
2015-09-15 17:28:42 +02:00
Claudio Sanches
b8172b173e
Merge pull request #9135 from woothemes/issues/8971-filter-products-by-tax
...
Added more products query filter for REST API.
2015-09-15 12:19:36 -03:00
Mike Jolley
c4fa25c09e
Merge pull request #9100 from woothemes/issues/8879-categories-tags-api-addition
...
Added support to POST, PUT, and DELETE categories/tags.
2015-09-15 16:17:50 +01:00
Mikael Mattsson
ac49411146
Make the image properties alt and title writable in the REST API v3.
2015-09-15 17:17:14 +02:00
Mike Jolley
b2749c3939
Merge pull request #9118 from woothemes/issues/8948
...
Added API support for product shipping classes.
2015-09-15 16:15:52 +01:00
Mike Jolley
0830543c4f
Add disclaimer to woocommerce_adjust_non_base_location_prices
2015-09-15 16:01:11 +01:00
Mike Jolley
4959937689
Merge branch 'universal-pricing-test'
2015-09-15 15:57:04 +01:00
Akeda Bagus
97565ef9a1
Added more products query filter for REST API.
...
The new filters are taxonomies related: tag, shipping class, and
attribute. The code was refactored a bit so all taxonomies query are
wrapped within tax_query.
2015-09-15 07:18:28 -05:00
Mike Jolley
9f1a5e3c26
Remove unused arg
2015-09-15 12:51:45 +01:00
Mike Jolley
0164584aaf
Reduce stock once and record in _order_stock_reduced meta
...
Also clears up the payment_complete method
2015-09-15 12:39:16 +01:00
Mike Jolley
96814b992f
Show more variations per page
2015-09-14 16:54:58 +01:00
Mike Jolley
3dbe9ccd95
Better fallback for ajax variations in case sync_attributes has ran
2015-09-14 16:50:58 +01:00
Mike Jolley
fc78f85bc6
Merge branch 'pr/9034'
2015-09-14 15:56:38 +01:00
Mike Jolley
3a1bcd8e7d
Store prices in class to prevent running get_variation_prices multiple times
2015-09-14 15:09:57 +01:00
Mike Jolley
2d90e1c6c6
Ensure _product_version checks act the same regardless of the attributes being checked
2015-09-14 12:12:05 +01:00
Akeda Bagus
6906eb4eae
Added support to GET, POST, PUT, and DELETE tags.
2015-09-13 17:59:07 +07:00
Akeda Bagus
2980ffd66b
Added support to POST, PUT, and DELETE categories.
2015-09-13 17:59:07 +07:00
Akeda Bagus
f781d393c8
Added API support for product shipping classes.
...
This change implements GET, POST, PUT, and DELETE handlers for shipping
classes endpoint, /products/shipping_classes.
Fixes #8948 .
2015-09-13 17:54:23 +07:00
Panagiotis Vagenas
8e37f8d0a5
#9116 . Moving the action outside the curly braces will do the trick.
2015-09-13 10:03:25 +03:00
Claudio Sanches
03ed840a79
Merge pull request #9109 from SiR-DanieL/related-products-args
...
Wrong per_page attribute
2015-09-11 18:24:56 -03:00
Nicola Mustone
cc3962cddb
wrong per_page attribute
2015-09-11 10:53:26 +02:00
Akeda Bagus
82a7c70334
Don't show undo link if removed item product is out of stock.
2015-09-11 15:22:09 +07:00
Claudio Sanches
194f9cd6ec
Revert "Added API support for product shipping classes."
2015-09-10 14:22:11 -03:00
Mike Jolley
53c6bebbd0
Select 1=1 instead of '1' when using get_var
...
Fixes #9102
2015-09-10 16:49:51 +01:00
Mike Jolley
8ec5986d48
Tweak hash logic
2015-09-09 22:29:54 +01:00
Claudio Sanches
1a97aeb0b3
Merge pull request #9098 from woothemes/issues/8948
...
Added API support for product shipping classes.
2015-09-09 12:27:38 -03:00
Kevin Hagerty
1c6dad110e
improved spacing, filter name more conventional, added esc_attr
2015-09-09 10:11:09 -04:00
Akeda Bagus
1f18d861ce
Added API support for product shipping classes.
...
This change implements GET, POST, PUT, and DELETE handlers for shipping
classes endpoint, /products/shipping_classes.
Fixes #8948 .
2015-09-09 20:38:11 +07:00
Mike Jolley
71b8f0ddff
Change loops wording
...
Closes #8818
2015-09-09 11:26:11 +01:00
Mike Jolley
a0411e7d8b
Apparently allowing full screen fixes wistia notices
...
Fixes #9052
2015-09-09 11:06:26 +01:00
Geoffrey de Vlugt
9d7d40ced1
Coupon usage count can become negative
...
This commit fixes issue #9086
2015-09-09 09:56:32 +02: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
rchq
332c1bdf9c
Update abstract-wc-order.php
...
Created an action to be able to hook into and add additional notification triggers.
2015-09-08 11:00:22 -07:00
Kathy Darling
9571b8827e
Add `woocommerce_admin_order_item_thumbnail` filter in `html-order-item.php`.
2015-09-08 13:41:12 -04:00
Mike Jolley
4084b8b359
Merge pull request #9075 from krautnerds/fix-lost-password-form-handling
...
Fix lost password form handling for space before/after email
2015-09-08 11:45:22 +01:00
Mike Jolley
6306c3afde
get_formatted_meta allow 0 values
...
Fixes #9072
2015-09-08 11:39:50 +01:00
Mike Jolley
14ee9e2daa
Merge pull request #9074 from khag7/khag7-patch-1
...
fix HTML for the order total column
2015-09-08 10:24:19 +01:00
matttallan
bbe11fdd6b
Don't try add/remove download permissions if order does not exist
2015-09-08 15:28:38 +10:00
Florian Ludwig
5cffd789a4
Removed unused variable
2015-09-08 00:08:40 +02:00
Florian Ludwig
9966f6b0a4
Fixed issue where space before or after mail led to "Invalid e-mail" error
2015-09-08 00:08:32 +02:00
Kevin Hagerty
a59b3482e8
fix HTML for the order total column
...
the HTML generated now uses get_formatted_order_total, same solution used for issue #9047
2015-09-07 17:30:55 -04:00
Florian Ludwig
35655f8544
Fixed all inefficient selector usages
...
Use find for more efficient selectors - more information on e.g.
https://24ways.org/2011/your-jquery-now-with-less-suck/
2015-09-07 19:51:10 +02:00
Manos Psychogyiopoulos
e3dad9106f
elseif
2015-09-07 19:17:33 +03:00
Manos Psychogyiopoulos
d9d11974fe
introduce context in transient with price filters
2015-09-07 19:13:41 +03:00
Mike Jolley
821434cbb7
Fix geolocation redirect with querystring
2015-09-07 16:58:05 +01:00
Mike Jolley
a056e3e649
Unslash key description
...
Closes #9068
2015-09-07 16:29:03 +01:00
Mike Jolley
358f3f79fa
Don't use extract() in add_rate
...
#9057
2015-09-07 16:02:23 +01:00
Mike Jolley
38a5d04c53
woocommerce_save_account_details_required_fields hook
...
Closes #9056
2015-09-07 15:21:57 +01:00
Mike Jolley
3e0986bce0
Merge pull request #9053 from khag7/khag7-patch-1
...
Improve order total formatting
2015-09-07 14:43:49 +01:00
Mike Jolley
50e4a68235
Merge pull request #9028 from LeGaS/patch-1
...
Count only published variations
2015-09-07 14:43:01 +01:00
Mike Jolley
ee0b0ba088
Merge pull request #9003 from krautnerds/fix-api-v2-item-meta-keys
...
Restored wc<2.4 behavior of order item meta keys
2015-09-07 14:36:17 +01:00
Mike Jolley
27ac395496
Use geolocation class IP function
...
Fixes #9048
Closes #9050
2015-09-07 14:24:00 +01:00
Mike Jolley
ae849c7adb
Merge pull request #9054 from khag7/khag7-patch-2
...
use the needs_payment function
2015-09-07 14:19:48 +01: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
Mike Jolley
bf0cb28d36
esc_html
...
Closes #9065
2015-09-07 13:26:43 +01:00
Mike Jolley
174967dd6b
Merge pull request #9066 from dominic-p/query-id-check
...
Check specifically for Post IDs in WC Query verbose rules fix
2015-09-07 13:22:29 +01:00
James Koster
4aff861626
responsive orders table in dashboard. closes #8996
...
Also removes unnecessary tooltip on order row.
2015-09-07 12:35:30 +01:00
Mike Jolley
1c68137cf9
Only run maybe_set_cart_cookies if cart was loaded
2015-09-07 11:38:24 +01:00
Dominic
358336546e
Check specifically for Post IDs in WC Query
...
The `WP_Query::queried_object_id` property can reference either a post
or a term ID. This way, we ensure that we are check for posts only.
2015-09-07 02:17:01 -07:00
Kevin Hagerty
164b39ea42
Use the needs_payment function
...
Instead of checking against a list of valid order statuses, use the needs_payment function which already checks against those statuses
2015-09-05 08:09:47 -04:00
Kevin Hagerty
e4b092fe10
Use the needs_payment function
...
Instead of checking against a list of valid order statuses, use the needs_payment function which already checks against those statuses
2015-09-05 08:06:57 -04:00
Kevin Hagerty
3671bcf39d
Improve order total formatting
...
The function get_formatted_order_total already provides formatted HTML with indication of a prior refund. No need to do that logic and formatting again.
2015-09-05 07:48:24 -04:00
Mike Jolley
991bd96fb6
Redirect 'not right now' to referer
2015-09-04 16:02:44 +01:00
Mike Jolley
b111331686
Allow line breaks in non-variation attributes
2015-09-04 14:00:42 +01:00
James Koster
8eebc7c900
Free is an amount!
...
All product prices are wrapped in `span class=“amount”`. To make
themers lives easier let’s be consistent. When the product is free the
price should still be wrapped.
2015-09-04 11:19:52 +01:00
Mike Jolley
d90d562b42
Leave excl function alone
2015-09-04 10:57:22 +01:00
Mike Jolley
e08f8d8902
Apply woocommerce_adjust_non_base_location_prices to all prices
2015-09-04 10:48:50 +01:00
Mike Jolley
31ed6c2531
woocommerce_adjust_non_base_location_prices test (false for now, should be true for current behavior)
2015-09-04 10:33:51 +01:00
Mike Jolley
bbd95bab7b
Merge pull request #9033 from jackgregory/is-layered-nav-active
...
add woocommerce_is_layered_nav_active filter
2015-09-04 10:08:18 +01:00
Mike Jolley
8596cb9322
Merge pull request #9039 from krautnerds/fix-api-key-bulk-revoke-for-translated-woocommerce
...
Don't use translated key for name in bulk action checkbox
2015-09-03 23:16:28 +01:00
Mike Jolley
797f2fab62
decode quotes
...
#9040
2015-09-03 23:15:06 +01:00
Florian Ludwig
6f3a221c62
Removed senseless sprintf argument
2015-09-03 22:21:23 +02:00
Florian Ludwig
2b6aecb262
Don't use translated key for name in bulk action checkbox
...
Otherwise the translation will break the code in
https://github.com/woothemes/woocommerce/blob/master/includes/admin/clas
s-wc-admin-api-keys.php#L122
We shouldn’t use the translated string here in my opinion.
2015-09-03 22:12:55 +02:00
Manos Psychogyiopoulos
68e24c8f8a
no filters allowed when generating variable product price transients
2015-09-03 19:04:31 +03:00
Mike Jolley
8149213c4b
Add monthly cron schedule
...
@claudiosmweb
2015-09-03 16:21:53 +01:00
Mike Jolley
889d40b8aa
Add data attribute to leave options visible
...
Closes #9017
2015-09-03 15:38:42 +01:00
Jack Gregory
e75b462e86
add woocommerce_is_layered_nav_active filter
2015-09-03 15:09:21 +01:00
Mike Jolley
fad48bf800
Add filters to control shipped via text
2015-09-03 15:05:10 +01:00
Szabolcs Légrádi
6bb0dd864b
Do not count trashed product variations
2015-09-02 23:11:28 +02:00
Szabolcs Légrádi
68460063a0
Count only published variations
2015-09-02 22:58:07 +02:00
Mike Jolley
b4e879f30e
Merge pull request #8993 from jackgregory/filter-dropdown-variation-args
...
add woocommerce_dropdown_variation_args filter
2015-09-02 14:01:39 +01:00
Jack Gregory
16cdbb4ff3
update woocommerce_dropdown_variation_attribute_options_args filter naming
2015-09-02 12:39:23 +01:00
Mike Jolley
d4c8611ec8
Merge pull request #8972 from didi3r/patch-1
...
Hide "Our Bank Details" heading when no bacs registered
2015-09-02 12:24:22 +01:00
Mike Jolley
c4ca7abd4c
Check home URL not this page
...
Fixes #8963
2015-09-02 12:23:53 +01:00
Mike Jolley
2023910400
Log refund response.
2015-09-02 11:36:42 +01:00
Mike Jolley
a27aeaaa6f
Escape add to cart messages to stop translations from breaking cart events.
2015-09-02 10:59:17 +01:00
Mike Jolley
cf7a9c3913
Case insentiive matching in cache helper
...
@georgestephanis
2015-09-01 16:40:17 +01:00
Mike Jolley
dd7c32c22c
Added 'false' check in variation admin
...
@claudiosmweb Closes #8966
2015-09-01 16:35:13 +01:00
Mike Jolley
c65d227105
Merge pull request #9011 from woothemes/WPprodigy-patch-1-1
...
Allow for multiple email recipients
2015-09-01 15:46:46 +01:00
Mike Jolley
f7e4bf224d
Exclude cart and account pages from geolocation
...
Closes #8967
2015-09-01 15:41:05 +01:00
Mike Jolley
66c0d8f009
Swiss
...
Fixes #9001
2015-09-01 13:50:14 +01:00
Mike Jolley
91ac7fc974
To prevent discounts being applied in 'random' order (based on order added to cart), sort cart items based on subtotal during calculate_totals.
...
Closes #8987
@claudiosmweb @georgestephanis does this change look sane to you folks?
2015-09-01 13:16:55 +01:00
Caleb Burks
c53248896e
Allow for multiple email recipients
...
Allow multiple emails to be used for the low stock / out of stock email.
2015-09-01 07:11:41 -05:00
Mike Jolley
6728f5c1fe
singular_name context
...
Closes #8988
2015-09-01 12:42:45 +01:00
Florian Ludwig
4e0961333f
Restored wc<2.4 behavior of order item meta keys
...
The previous version of woocommerce showed the machine readable names
in item_meta['key’] especially for the custom variation attributes but
after 2.4 it shows only meta ids in the key.
This commit reverts the behavior to the prior 2.4 behavior.
2015-08-31 17:59:41 +02:00
Mike Jolley
07237d9a09
Set charset when doing html_entity_decode
...
@claudiosmweb Closes #8964
2015-08-31 12:29:36 +01:00
toddlahman
b631cc719c
Fix for Invalid argument supplied for foreach
2015-08-30 21:18:21 -07:00
Jack Gregory
f8cc75fe4f
add woocommerce_dropdown_variation_args filter
2015-08-29 16:30:36 +01:00
Mike Jolley
7643712a52
Sync after save
2015-08-29 13:45:58 +01:00
Florian Ludwig
b50a75ce23
Use wc_stock_amount for ajax response in variation admin
...
My previous pull request of old WC 2.3 didn’t get applied in the new
2.4 AJAX method for the variation admin. So let’s do it again ;) (old
pull request see #8304 )
2015-08-28 18:17:54 +02:00
Didier Pérez
8bbb0f2878
Hide "Our Bank Details" heading when no bacs registered
...
The heading "Our Bank Details" is shown in emails even if there are not bacs registered. This fix prevent that.
2015-08-27 13:33:32 -05:00
Claudio Sanches
58df3604f8
Merge pull request #8962 from woothemes/simplify-ireland-support
...
Adds a filter on the supported countries for Simplify Commerce.
2015-08-26 11:32:41 -03:00
Matty
19c052428d
Adds a space after (array) to comply with WordPress coding standards. #8960 .
2015-08-26 15:16:42 +02:00
Mike Jolley
4849d7d56e
Sync stock status during save
...
Closes #8950
2015-08-26 13:51:51 +01:00
Matty
7c679edf63
Adds a filter on the supported countries for Simplify Commerce, to add country support without the need to update WooCommerce itself. #8960 .
2015-08-26 14:35:55 +02:00
Matty
49b33ae89d
Adjusts Simplify Commerce country support to reflect support for Ireland. Closes #8960 .
2015-08-26 14:24:24 +02:00
Mike Jolley
fdb25fa0c3
Pass through tax_display
...
Fixes #8951
2015-08-26 13:05:52 +01:00
Mike Jolley
1f3e8b984e
use empty to check to see if attributes for variations exist
...
Closes #8959
2015-08-26 12:56:44 +01:00
Mike Jolley
28da8a40d8
Tweak wc_var_prices naming to allow them to be flushed on save
2015-08-26 12:28:04 +01:00
Ibrahim
6b60616ed3
Update class-wc-shortcodes.php
...
`ob_start` is used which is not required.
2015-08-26 12:08:17 +05:30
Mike Jolley
5fbdb06710
show_counts -> show_count
2015-08-25 10:48:36 +01:00
George Stephanis
f71af3b1de
Account for the fact that when fetching all meta, maybe_unserialize() hasn't run yet.
...
@see
https://github.com/WordPress/WordPress/blob/a7b38bf90a8b4e070ae98faa076e
41403c59f951/wp-includes/meta.php#L499-L508
2015-08-24 16:08:04 -04:00
George Stephanis
6ef4cf0d18
Optimization. Don't call `get_post_meta` 17+ odd times.
...
As @pmgarman remarked here:
https://pmgarman.me/blog/woocommerce-and-coupon-_used_by-logging/ — for
very large values of postmeta, when using memcached that cannot handle
data stores of over 1M, the store seems to fail at pulling it back in,
resulting in large query results on each call.
At the least, this change should avoid those cache misses and
re-queries, although I do feel that not being able to keep the cached
in php’s memory and losing it in the cache is indeed a failing here of
the object cache plugin.
Still, this should have some optimizations, as we’re caching the data
right here, closer to usage.
2015-08-24 15:06:19 -04:00
George Stephanis
a17addae0a
Migrate the actual querying of the underlying data structure.
...
Move it into the relative class for tidiness, and have it be called via
an access function.
2015-08-24 14:30:13 -04:00
George Stephanis
4692afacdd
Add a conditional to match `inc_usage_count()`
...
Otherwise, for empty $used_by values, it will fire off a needless db
query.
2015-08-24 14:20:30 -04:00
George Stephanis
40dfb59bde
Clarify a comment as to why we're not using a core method.
2015-08-24 14:19:08 -04:00
George Stephanis
fd3ceb3e04
Allow a user to be specified for validating the limit of.
2015-08-24 13:08:44 -04:00
George Stephanis
e6b7d5c49a
Simplify the data we're working with.
...
This provides slightly safer bounds for large data sets.
2015-08-24 13:08:23 -04:00
Nicola Mustone
6f7b534493
missing comma
2015-08-24 17:27:23 +02:00
Nicola Mustone
657728d778
_x for the order details admin page
2015-08-24 17:15:19 +02:00
Mike Jolley
5e984faebc
Allow HTML in store notice.
2015-08-24 16:15:16 +01:00
Nicola Mustone
beb97b279e
_x for refund reports
2015-08-24 17:13:04 +02:00
Mike Jolley
a07824e8a7
Ensure product exists in add cart handler
...
Closes #8937
2015-08-24 15:28:57 +01:00
Mike Jolley
f03be47e86
Handle non standard decimals in flat rate costs.
2015-08-24 15:26:08 +01:00
Mike Jolley
14b0c20bf2
Ensure variable stock status is based only on variations
2015-08-24 15:03:44 +01:00
Mike Jolley
3c7290a765
During updates, only recreate .htaccess if not using redirect download method.
...
Fixes #8923
2015-08-24 13:50:14 +01:00
Mike Jolley
ae21b511f0
Support 0 value attributes
2015-08-24 13:32:20 +01:00
Mike Jolley
d9e8787198
WC Setup wizard: Fix manual setting of decimal/thousand separator.
...
Closes #8930
2015-08-24 12:54:09 +01:00
Mike Jolley
ae207466d4
Ajax variation < 2.4 attribute name handling.
2015-08-23 21:47:04 +01:00
Mike Jolley
0cf74b5dba
Set ajax endpoint headers like admin_ajax
...
@claudiosmweb does this make sense to you?
2015-08-23 21:17:03 +01:00
Shiva Poudel
9cf86e8494
Cleanup docblocks
2015-08-22 02:57:03 +05:45
Shiva Poudel
4018ca4ed3
Tweak - Hide default Custom Fields Meta-Boxes, Closes #8924
2015-08-22 02:52:05 +05:45
Mike Jolley
04a68ad925
Add spinner/loading indication between onboarding steps
...
Closes #8816
2015-08-21 19:12:36 +01:00
Mike Jolley
393bb012c1
Tweak gateway wording
...
@mjepson
2015-08-21 19:01:21 +01:00
Mike Jolley
87534d683b
Update tweets!
...
@MarinaWoo
2015-08-21 18:57:14 +01:00
Mike Jolley
d677be46ce
update example to show decimal
2015-08-21 17:01:25 +01:00
Mike Jolley
07b1f9329d
Bulk update variation: Allow stock to be set to 0.
2015-08-21 16:48:25 +01:00
Mike Jolley
bbb00d9a3a
Bulk update variation manage stock when _manage_stock meta data is missing.
2015-08-21 16:33:55 +01:00
Mike Jolley
d8a9ebd29c
Merge pull request #8916 from SiR-DanieL/encode-variation-data-url
...
Encode variation data
2015-08-21 15:52:17 +01:00
Mike Jolley
714cd8dc9a
Merge branch 'pr/8901'
2015-08-21 15:32:11 +01:00
Mike Jolley
574c0b2936
Update wording
2015-08-21 15:25:03 +01:00
Mike Jolley
8fca3e2d60
Merge pull request #8913 from woothemes/add-to-cart-handlers
...
Add to cart handlers
2015-08-21 14:35:20 +01:00
Mike Jolley
296d9a8850
Merge pull request #8915 from shivapoudel/fix-site-icon
...
WC Setup wizard and site icon
2015-08-21 14:09:40 +01:00
Mike Jolley
2d8b3f0c1f
menu_order notices on IIS.
2015-08-21 14:08:32 +01:00
Nicola Mustone
ae3f0aec51
encode variation data
2015-08-21 12:32:00 +02:00
Shiva Poudel
7cd88cfa30
Fixed - WC Setup wizard site icon display on WP 4.3
2015-08-21 13:31:10 +05:45
Claudio Sanches
c7f8e541cd
Merge pull request #8912 from thenbrent/simplify_change_payment_fix
...
Fix changing failing subscription payment method
2015-08-20 22:37:42 -03:00
Mike Jolley
170737b4e8
Remove purchasable check completely
...
Not required as the cart class checks this later on. Was originally
added for #7220 . Later changed to support admin buying private products
https://github.com/woothemes/woocommerce/commit/9ed36d4b0104e77ede338862
b67a99d0a243aac8
Fixes #8908
2015-08-20 23:43:39 +01:00
Mike Jolley
80b6c0f541
Refactor add_to_cart_action by splitting product type methods
2015-08-20 23:41:56 +01:00
Caleb Burks
4bff967e40
Flat Rate Calculation - min_fee
...
The correct shortcode term to use is `min_fee`: https://github.com/woothemes/woocommerce/blob/master/includes/shipping/flat-rate/class-wc-shipping-flat-rate.php#L94
2015-08-20 16:55:00 -05:00
Brent Shepherd
f52316856c
Fix changing failing subscription payment method
2015-08-20 13:51:08 -07:00
Mike Jolley
5c948f374c
Fix preg_replace in layered nav dropdown
2015-08-20 17:32:27 +01:00
Claudio Sanches
1c348ebc27
Merge pull request #8904 from woothemes/wizard-language-download
...
Wizard language download, closes #8895
2015-08-20 12:16:01 -03:00
Claudio Sanches
d81cea3ab6
Properly escape WC_Admin_Setup_Wizard::get_next_step_link()
2015-08-20 12:15:12 -03:00
Claudio Sanches
86de66c8c9
Use self for static methods
2015-08-20 12:10:41 -03:00
Mike Jolley
0f40e8cdf7
Language install prompt
2015-08-20 16:03:29 +01:00
Tor Morten Jensen
f6b7ab97b1
Adds tooltips to explain 'tax class' and 'tax status' in product admin. Addresses #8817
2015-08-20 14:33:25 +02:00
JeroenSormani
c25cc886ae
Add tiptip dependency to wc-admin-meta-boxes
2015-08-20 13:46:52 +02:00
Mike Jolley
24c7f56b03
move attribute code above selector
2015-08-20 10:52:59 +01:00
Mike Jolley
9ed36d4b01
In add_to_cart_action, check is_purchasable rather than post status.
2015-08-20 10:39:38 +01:00
Lucas Stark
00be9b1324
Update class-wc-admin-settings.php
...
Reset the $value to array when processing image_width. Strange bug if the value is a string and the array is not explicitly created.
2015-08-19 13:39:38 -04:00
Claudio Sanches
186257fcd1
Removed the forced redirect
2015-08-19 12:43:13 -03:00
Claudio Sanches
aa8e469a9d
Download translations in setup wizard
2015-08-19 12:36:59 -03:00
Mike Jolley
ac90660f7d
Add expand/close links for attributes and match variation UI
...
Closes #8875
2015-08-19 14:00:26 +01:00
Mike Jolley
ecc50f78ab
Don't clean keys - avoids destroying special chars
2015-08-19 11:33:42 +01:00
Mike Jolley
57bb0ebe25
Record manual order status change
2015-08-18 16:33:38 +01:00
Mike Jolley
625105b1c7
Merge pull request #8873 from SiR-DanieL/transient-limit-filter
...
Added filter woocommerce_delete_version_transients_limit
2015-08-18 14:44:41 +01:00
Mike Jolley
c6d6a6b439
Merge pull request #8866 from woothemes/fix/pinking-shears
...
Pinking Shears.
2015-08-18 14:36:52 +01:00
Mike Jolley
dc37e49c02
Suppress set_time_limit errors to prevent issues in some environments
...
“Warning: Cannot set max_execution_time above master value of 30 (tried
to set unlimited) in
/var/www/web1043/html/wordpress/wp-content/plugins/woocommerce/includes/
class-wc-download-handler.php on line 337</p>”
2015-08-18 13:16:25 +01:00
Nicola Mustone
7f879b416a
added filter woocommerce_delete_version_transients_limit
2015-08-18 11:47:19 +02:00
Claudio Sanches
c00239fbef
Fixed visual endpoint callback content-type #8021
2015-08-17 19:19:08 -03:00
George Stephanis
ffd2b2de30
Pinking Shears.
2015-08-17 17:35:10 -04:00
Claudio Sanches
8da7369088
Just avoid deprecated notices for #8848
2015-08-17 14:04:12 -03:00
Claudio Sanches
a12552dbf1
[API] Removed $HTTP_RAW_POST_DATA in favor of php://input, closes #8848
2015-08-17 12:51:19 -03:00
Mike Jolley
a5a7c71aa7
Keep new variation in sync so actions can modify data Closes #8858
2015-08-17 15:11:34 +01:00
Mike Jolley
9330176865
Flush product cache so prices are regenerated
...
Fixes #8851
2015-08-17 14:19:58 +01:00
Mike Jolley
1999dbe92d
Improve display_item_downloads numbering and use same function in emails.
2015-08-17 12:17:56 +01:00
Mike Jolley
ad691fe916
save_account_details should check display name of current user.
...
Fixes #8856
2015-08-17 12:02:16 +01:00
Mike Jolley
329c2c9c9b
Merge pull request #8838 from StuartOB/master
...
Missing object attributes
2015-08-17 11:03:44 +01:00
Claudio Sanches
a9a6009b66
Check if order is valid in checkout shortcode, closes #8829
2015-08-15 17:50:42 -03:00
stuartobrien
237acd7e90
consistent code formatting
2015-08-15 01:28:48 +02:00
stuartobrien
3ce5374cd9
fixed - missing attribute $password_generated used in the object but not declared
2015-08-15 01:16:02 +02:00
stuartobrien
6a8742d4d6
change type to boolean
2015-08-15 01:03:18 +02:00
stuartobrien
5a616d86c3
fixed - missing attributes refund and partial_refund are used in the object but are not declared
2015-08-15 00:57:12 +02:00
Claudio Sanches
13c34f6ba2
Fixed Allowed Zip description for Local Delivery, closes #8831
2015-08-14 15:28:34 -03:00
Claudio Sanches
1d0d48b1ad
Fix attribute text based in API, closes #8823
2015-08-14 15:22:57 -03:00
Claudio Sanches
934808fc37
Created new wc_sanitize_term_text_based() for properly sanitize term text based before save, closes #8823
2015-08-14 15:22:16 -03:00
Claudio Sanches
dc666f6b27
Added missing $menu_order on WC_Ajax::add_variation()
2015-08-14 14:40:46 -03:00
Lee Hopkins
9632077c7e
Wrap product name in correct double quotes in wc_format_list_of_items()
2015-08-14 09:57:35 -07:00
George Stephanis
81804d8d3b
Don't show the `pre` displaying the changes by default.
2015-08-14 11:07:35 -04:00
Mike Jolley
a0be65596f
COD: remove shipping check if the cart is 100% virtual.
...
@claudiosmweb
2015-08-13 23:54:16 +01:00
Mike Jolley
dc1798f942
woocommerce_variable_children_args hook.
2015-08-13 23:35:41 +01:00
George Stephanis
2aa1650f54
Rearrange things to get ajax working.
...
Spread them out throughout WooCommerce.
2015-08-13 17:49:59 -04:00
Diego Zanella
5b29d23daf
Added filter for Variable Products, as suggested in #8820
...
* The new filter allows to alter the query used to retrieve children of a variable product.
2015-08-13 22:42:16 +01:00
George Stephanis
c6d7e6ba26
Make this public so it can be used to sanitize.
2015-08-13 17:34:00 -04:00
Mike Jolley
92043a19f2
Free shipping should not be on by default
...
Closes #8819
2015-08-13 22:02:44 +01:00
George Stephanis
ec287f116f
Add ajax submission processing.
...
Not quite finished yet, as the add_action isn’t catching.
2015-08-13 16:57:54 -04:00
George Stephanis
d4ab9e6feb
Add in a bit of extra sanitizing for tax rate classes.
2015-08-13 16:56:50 -04:00
Claudio Sanches
893d0e40da
Include attribute archives support in the breadcrumbs
2015-08-13 16:02:57 -03:00
George Stephanis
2d097a8f4c
Minified version of new js file.
2015-08-13 14:29:01 -04:00
George Stephanis
3a87b98ba6
Rewrite onAddNewRow for Backbone models.
2015-08-13 14:10:47 -04:00
Mike Jolley
63fe4a0c05
Correct docbloc Closes #8814
2015-08-13 18:05:55 +01:00
Mike Jolley
d9f9da955d
empty checking
2015-08-13 16:58:23 +01:00
George Stephanis
b4bd433342
Update the unsaved message to give better data.
2015-08-13 11:58:09 -04:00
Mike Jolley
827ff2ae85
Merge pull request #8813 from SiR-DanieL/deprecated-fix
...
Replacing deprecated functions
2015-08-13 16:56:32 +01:00
Mike Jolley
56b6c0ab9c
Link to full image
...
Closes #8809
2015-08-13 16:55:32 +01:00
Nicola Mustone
51c4599b59
replacing deprecated functions
2015-08-13 17:49:25 +02:00
Mike Jolley
630c14124c
Avoid firing woocommerce_order_fully_refunded twice
2015-08-13 16:35:52 +01:00
Ewout Fernhout
535949b02e
add $display_refunded parameter to get_formatted_order_total
...
#8793
2015-08-13 15:45:49 +02:00
Mike Jolley
a52619c344
Ajax variation handling when 'any' attribute is set.
2015-08-13 13:57:26 +01:00
Mike Jolley
fb64e6e66e
Use wp_unslash and only decode when getting attributes, not saving
2015-08-13 13:03:51 +01:00
Mike Jolley
7552704e75
double encode attributes
2015-08-13 12:16:08 +01:00
Mike Jolley
a545a3aa02
wp_json_encode is 4.1 +
2015-08-13 12:07:12 +01:00
Mike Jolley
4908131b86
stripslashes_deep attributes
2015-08-13 12:07:05 +01:00
Mike Jolley
3a4653ba3b
Run html_entity_decode over text attributes to fix problems with quote characters.
2015-08-13 12:06:52 +01:00
Manos Psychogyiopoulos
46151c6757
ensure variation data is_array
2015-08-13 13:32:26 +03:00
Manos Psychogyiopoulos
97ab635e71
introduce get_formatted_variation_attributes
2015-08-13 13:12:24 +03:00
Mike Jolley
8f759c8af1
Order variations by menu_order by fallback to ID.
2015-08-13 10:40:50 +01:00
Mike Jolley
d3e2217227
Allow errors with debug on
...
Closes #8805
2015-08-13 10:27:22 +01:00
Claudio Sanches
275849b5da
[2.4] Fixe order by user and sorting by total, closes #8803
2015-08-13 00:33:56 -03:00
George Stephanis
e10064d0fe
Revert back to passing in array values. We can indexBy in JS
2015-08-12 17:17:39 -04:00
Claudio Sanches
6d79f7f02b
Fixed default wc_lostpassword_url() args, closes #8800
2015-08-12 17:43:04 -03:00
George Stephanis
f77b77e335
New template for empty set.
2015-08-12 15:29:17 -04:00
George Stephanis
4e2229a6bf
Merge branch 'master' into issue/8587
2015-08-12 15:07:44 -04:00
George Stephanis
220550621a
Populate the search field value attribute
2015-08-12 14:38:25 -04:00
George Stephanis
3ee43646ae
Pass in the current page's base url to js for appending.
2015-08-12 14:18:49 -04:00
Mike Jolley
f8b539eb5e
Improved refund email events and woocommerce_order_fully_refunded hook.
...
Closes #8793
2015-08-12 19:01:05 +01:00
George Stephanis
4aedda5eb8
Indent the template file properly.
2015-08-12 13:52:04 -04:00
Mike Jolley
cbb89fa4b9
wc_get_product_variation_attributes should only get parent attributes which are for variations.
...
Closes #8796
2015-08-12 18:02:13 +01:00
George Stephanis
56218b0824
Add in a notification for unsaved changes.
2015-08-12 12:59:13 -04:00
George Stephanis
8dc2126718
Update the tablenav so the gotos are never out of range.
2015-08-12 12:59:12 -04:00
George Stephanis
837931f99a
Check for truthiness.
...
This avoids silliness where `’0’` evaluates to true. Just parse it as
an int and evaluate that.
2015-08-12 12:59:11 -04:00
George Stephanis
2a0951e4e5
Add more data attributes to the rows and fields.
2015-08-12 12:59:11 -04:00
George Stephanis
1a066ebbe0
Swap to associative array for model.
2015-08-12 12:59:11 -04:00
George Stephanis
ce7cb1f65d
Add a `beforeunload` event to prompt before leaving with unsaved changes.
2015-08-12 12:59:10 -04:00
George Stephanis
c6e3a577c0
Set backbone and underscore as script dependencies.
2015-08-12 12:59:10 -04:00
George Stephanis
8a416f105b
Should be comparing to `'1'` not `1`.
2015-08-12 12:59:10 -04:00
George Stephanis
ddba588987
Migrate the logic and queries out of the template file.
...
Move them where they belong, in the class that calls it.
2015-08-12 12:59:09 -04:00
George Stephanis
5f4cbf78d0
Remove the legacy pagination.
2015-08-12 12:59:09 -04:00
George Stephanis
4df13e6ffb
Don't set them for unexistent rates.
2015-08-12 12:59:09 -04:00
George Stephanis
7bebbaff9e
Pagination now works by first, prev, next, last.
...
Still need to get number based pagination working.
2015-08-12 12:59:09 -04:00
George Stephanis
cf59aec17d
Add in and populate pagination template.
...
The buttons don’t actually do anything yet, but it outputs accurately
and inherits core styles.
2015-08-12 12:59:09 -04:00
George Stephanis
be4c7db8bd
Pass rates in as an array, not an associative array, so it's an Array in js.
2015-08-12 12:59:08 -04:00
George Stephanis
c9a1ba2f39
A default placeholder to show until the rendering code replaces it.
2015-08-12 12:59:08 -04:00
George Stephanis
536402c183
Insert placeholder divs for search and pagination.
2015-08-12 12:59:07 -04:00
George Stephanis
308c7f8676
Whitespace tweaks
2015-08-12 12:59:07 -04:00
George Stephanis
676af1f308
JSHint fixes.
...
The other advantage of splitting js out of php files — jshint can run
on it! :) :) :)
2015-08-12 12:59:07 -04:00
George Stephanis
52d4ea822c
Extract 'No Rows Selected' string
2015-08-12 12:59:07 -04:00
George Stephanis
973348d6ad
Whitespace tidy!
2015-08-12 12:59:06 -04:00
George Stephanis
18293cf365
Extract the autocomplete for states and countries data.
...
Localize it!
2015-08-12 12:59:06 -04:00
George Stephanis
5d5a64753d
Migrate csv columns to localize script.
2015-08-12 12:59:06 -04:00
George Stephanis
39749c4563
Move js in from php template file.
2015-08-12 12:59:06 -04:00
George Stephanis
a63ef876d7
Rename and tweak how js is registered.
...
Thanks @claudiosmweb for the suggestion to match existing conventions.
2015-08-12 12:59:06 -04:00
George Stephanis
0ed5f40fa2
Prefix template name with `wc-`
...
Good call, @mikejolley
2015-08-12 12:59:06 -04:00
George Stephanis
a59ed70774
Big changeover to JS templating for the table.
...
Switching over to building the table with JS — wp.template.
We are now using the same JS template for existing rows and newly
generated rows on the fly — this should simplify things moving forward.
I’ve also started building stuff in an external JS file rather than
straight on the page. Will continue migrating things to it and
localizing as needed.
Saved ( 2 * displayed tax rates - 1 ) db queries per page load by doing
the locations all in one query and then parceling them out in php.
More coming.
2015-08-12 12:59:06 -04:00
George Stephanis
cb4e3cb774
Tax Rate Search: First whack.
...
This is by no means complete. A number of things need to be relocated
and optimized still, but it does a rough search, purely in JS, and
highlights the results in yellow.
2015-08-12 12:59:05 -04:00
Mike Jolley
817f8476ac
Refund subjects when order contains downloadable product.
2015-08-12 17:50:57 +01:00
Mike Jolley
19e8cc4634
display_errors > error_reporting
2015-08-12 17:45:49 +01:00
Mike Jolley
7a58c5417c
Only process downloads if valid order is found
...
Closes #8798
2015-08-12 17:21:07 +01:00
Mike Jolley
457283bc3c
Ajax variations: stripslashes to fix attributes with quotes.
2015-08-12 17:08:21 +01:00
Mike Jolley
6a3f4ee969
Disable error_reporting during ajax requests to prevent malformed JSON.
2015-08-12 11:51:05 +01:00
Mike Jolley
2f79ab5e3a
When merging shipping taxes with a shipping rate taxes, ensure shipping rate taxes is not malformed.
...
Closes #8790
2015-08-12 11:28:24 +01:00
Mike Jolley
0da69f2bef
Query within wc_customer_bought_product().
2015-08-12 10:44:44 +01:00
Mike Jolley
f6f2d7f9df
Ensure array is returned from wc_get_attribute_taxonomies
2015-08-11 17:10:34 +01:00
Mike Jolley
3bd52a78a5
Use wc_get_attribute_taxonomies instead of global
2015-08-11 17:10:34 +01:00
Claudio Sanches
23f6544ffc
Stop jetpack markdown of add slashs in HTML, closes #8782
2015-08-11 12:06:59 -03:00
Mike Jolley
4dd19c3839
Stripslashes on text attributes
...
Fixes #8778 Closes #8771
2015-08-11 14:55:35 +01:00
Mike Jolley
7d27707043
Tax inclusive prices rounding issue
...
Remove rounding on cart_contents_total so total is calculated correctly.
Prevents issues with half rounded taxes and half rounded items.
Fixes #8776
2015-08-11 14:17:52 +01:00
Mike Jolley
fafb6d5dca
Tweak cart fix to avoid munging %%endpoint%%
2015-08-11 14:04:42 +01:00
Mike Jolley
3eedab457d
return; don't break
2015-08-11 13:47:12 +01:00
Mike Jolley
61f7dd428e
use shop_single instead of full image size for variations.
...
Closes #8764
2015-08-11 12:54:26 +01:00
Ninos Ego
98a1ae4b25
Add class arg to dropdown function
2015-08-11 13:17:52 +02:00
Mike Jolley
5b786261e1
Hide get_formatted_legacy notices when doing ajax.
2015-08-11 12:09:54 +01:00
Mike Jolley
faa8ab02e0
* Fix - ordering_args in product_category shortcode.
2015-08-11 12:04:30 +01:00
Mike Jolley
8a0f4fcc67
Tweak update shipping logic
2015-08-11 11:53:51 +01:00
Mike Jolley
1078564fca
Prevent double add to cart due to ajax endpoints.
2015-08-11 11:53:36 +01:00
Mike Jolley
1cae64f448
eval maths - output errors only if WP_DEBUG is on
2015-08-11 11:23:53 +01:00
Mike Jolley
15e3c545df
Made checkout make use of new ajax endpoints.
...
Fixes #8763
2015-08-11 11:18:50 +01:00
Mike Jolley
42e99286c7
If all variations are out of stock, maintain pricing.
2015-08-11 10:33:47 +01:00
Nicola Mustone
1017798c6c
instroducing WC_Session::delete
2015-08-11 10:11:36 +02:00
Claudio Sanches
b1f0da9d76
Version 2.4.1
2015-08-10 18:44:32 -03:00
Claudio Sanches
a572c40405
Added the update script for 2.4.1
2015-08-10 18:27:07 -03:00
Claudio Sanches
f7c5d3d5f9
Fixed a typo
2015-08-10 18:26:06 -03:00
Claudio Sanches
7908d6e55a
Improved 2.4.1 update script
2015-08-10 18:23:28 -03:00
Claudio Sanches
2ad4592324
WooCommerce 2.4.1 update script
2015-08-10 18:18:33 -03:00
Mike Jolley
c1cd3f097c
Fix notices when calling get_shipping_classes().
2015-08-10 21:52:21 +01:00
Mike Jolley
1f5bca4daa
Ensure emails are disabled during this update routine
...
Closes #8758
2015-08-10 21:37:49 +01:00
Mike Jolley
77b2316d80
Merge pull request #8754 from JeroenSormani/is_on_sale
...
FIx is_on_sale bug on variable products
2015-08-10 15:43:35 +01:00
JeroenSormani
95609928ba
FIx is_on_sale bug on variable products
2015-08-10 16:36:40 +02:00
Mike Jolley
7363c85a2c
Get filtered variation prices #8753
2015-08-10 15:34:10 +01:00
Mike Jolley
318f399081
Small tidy for scruitinizer
2015-08-10 14:56:02 +01:00
Mike Jolley
d3f0fd1bb3
Correct docblocks
2015-08-10 14:42:10 +01:00
Mike Jolley
41e8cf74fb
Unused vars
2015-08-10 14:40:14 +01:00
Mike Jolley
f687a5a059
When setting up flat and international shipping during wizard, set availability based on base country
2015-08-10 11:03:36 +01:00
Mike Jolley
257010695e
Readme, versions, develop blog links
2015-08-10 10:39:08 +01:00
Brent Shepherd
a826330ad0
Reinstate default value for $items
...
That was (accidentally?) removed with SHA: 877e39064
Fixes "PHP Notice: Undefined variable: items" when attempting to get
line items of a type that does not exist on the order, like coupons.
2015-08-07 12:12:08 -07:00
Claudio Sanches
8bc5e9e284
Merge pull request #8747 from thenbrent/add_api_permissions_filter
...
Add permissions in scope filter
2015-08-07 15:25:00 -03:00
Brent Shepherd
1681b0f9d5
Add permissions in scope filter
...
To allow extensions to display the permissions API keys will provide
for their objects, in addition to the permissions for core WC objects.
2015-08-07 11:19:21 -07:00
Claudio Sanches
e9acb4f7cf
Fixed api keys migration for 2.4, closes #8746
2015-08-07 15:15:34 -03:00
Doug Smith
46536b6374
Minor grammar fixes to the update welcome message
2015-08-07 11:21:49 -05:00
Claudio Sanches
0a657fdd96
Added missing dot
2015-08-07 10:37:45 -03:00
Claudio Sanches
38aa17b67b
Fixed hardcoded string
2015-08-07 10:27:40 -03:00
Claudio Sanches
c0179c8bb2
Fixed a typo/extra end of line
2015-08-07 10:18:30 -03:00
Mike Jolley
877e390646
Remove $type from prepare
2015-08-07 14:06:19 +01:00
Mike Jolley
d6ceec0817
Flip esc_like and esc_sql, add %
2015-08-07 13:54:50 +01:00
Mike Jolley
800ae12552
Merge pull request #8742 from thenbrent/fix_truncated_key
...
Fix truncated_key value inserted on visual authentication request
2015-08-07 11:45:40 +01:00
Mike Jolley
5c9ac6a893
Avoid double escape when passing in arrays to sql queries. Use esc_sql
2015-08-07 11:37:19 +01:00
Mike Jolley
c5cba283ed
Remove numbered arguments from queries
2015-08-07 11:37:19 +01:00
Mike Jolley
fcbdd35223
Clean and escape API search
2015-08-07 11:37:19 +01:00
Mike Jolley
4c8ef3ff33
Use esc_sql on item type instead of esc_attr
2015-08-07 11:37:19 +01:00
Brent Shepherd
19a91e3afc
Fix truncated_key value inserted on visual auth
...
When inserting a new set of API keys via the visual API endpoint, only 5 format
values were specified in the 3rd param passed to the $wpdb->insert(); however,
6 values were specified in the 2nd param. This meant that the truncted_key value
was being formatted as an integer only the first numerical characters of the last
7 character of the consumer key were being stored. For example, given a consumer
key value of ck_e91f2aeae6c3dea3045293a3dbdf55c317ad762c the truncated_key value
should be 7ad762c but instead, it was being stored at 7.
2015-08-06 17:40:17 -07:00
Mike Jolley
ddd97b64c3
Remove white space to fix appearance of new rows
...
Fixes #8730
2015-08-06 11:38:46 +01:00
Mike Jolley
b91ccd32b9
Tweak wildcard tax handling to deal with 9 digit zip codes
...
Fixes #8736
2015-08-06 11:36:02 +01:00
Shiva Poudel
4cc26ab799
Backbone modal template to support wp.template
2015-08-06 10:22:53 +05:45
Shiva Poudel
0d1c2dc4dc
Fix - calls for esc_*
2015-08-06 02:04:21 +05:45
George Stephanis
9269fd7432
Retooling how this is escaped.
...
Sanitize early, escape late. Rather than double escaping, I figured
it’d be better to sprintf it in, and then escape that string — closer
to the output.
Also, I’m not sure why `urlencode` was used to escape a name?
2015-08-05 15:18:47 -04:00
George Stephanis
c938fa24da
More missing esc_attr calls, :(
2015-08-05 15:17:52 -04:00
Claudio Sanches
b091f12393
Fixed some js conding standards
2015-08-05 15:57:15 -03:00
George Stephanis
95e6b84fbb
Make sure we esc_attr translation results
...
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
George Stephanis
29d9a7da8c
Found two missing `esc_js()` calls as well.
2015-08-05 14:10:10 -04:00
George Stephanis
c7ee929325
Partial _e() => esc_attr_e() changeover.
...
There’s a lot of them, so I’m breaking them into multiple commits.
This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
Claudio Sanches
47492fb273
Merge branch 'master' of github.com:woothemes/woocommerce
2015-08-05 15:03:05 -03:00
Claudio Sanches
054dfe0c7b
Changed default Underscore's template for wp.template in API Keys
2015-08-05 15:02:55 -03:00
Mike Jolley
7f3c2a78c5
Get total functions should respect rounding settings.
...
Closes #8707
2015-08-05 14:33:53 +01:00
Mike Jolley
737769174e
Customer class using wrong meta keys for address_1/shipping_address_1
...
Fixes #8717
2015-08-05 14:05:03 +01:00
Mike Jolley
e8ea978e9e
Merge pull request #8697 from JeroenSormani/define-ajax
...
Define DOING_AJAX early
2015-08-05 13:53:40 +01:00
Mike Jolley
afd0e9edd4
Pass $this to filters
...
#8722
2015-08-05 13:49:27 +01:00
Mike Jolley
ccbe22164b
Merge pull request #8722 from SiR-DanieL/cross-up-sells
...
Added cross and up sells IDs filters
2015-08-05 13:48:46 +01:00
Mike Jolley
c97f845d7f
Merge pull request #8727 from SiR-DanieL/order-items-fix
...
Fix possible fatal error on the order admin page
2015-08-05 13:48:11 +01:00
Mike Jolley
d222dd4c37
Don't apply product discount if price is already 0
...
Closes #8725
2015-08-05 13:45:32 +01:00
Nicola Mustone
bfb0aa95b3
fix possible fatal error on the order admin page
2015-08-05 14:10:23 +02:00
Nicola Mustone
9822edda0b
better naming
2015-08-05 13:54:20 +02:00
Nicola Mustone
9140ca0f76
added cross and up sells IDs filters
2015-08-05 11:01:47 +02:00
Claudio Sanches
2954707118
Fixed rest_api_allowed_post_types filter
2015-08-04 13:49:24 -03:00
Claudio Sanches
8bcc926c63
Allowed products into wp.com rest api to enable jetpack related posts feature, closes #8712
2015-08-03 18:36:25 -03:00
Mike Jolley
d6bd46c55d
Move expand_item_meta to own method
...
Fixes notices in some extensions (deposits)
2015-08-03 13:21:44 +01:00
Mike Jolley
ef798921aa
woocommerce_can_reduce_order_stock filter
...
Needed for extension (deposits)
2015-08-03 10:37:58 +01:00
toddlahman
50d659f380
fix for array_filter() expects parameter 1 to be array, boolean given
...
array_filter() expects parameter 1 to be array, boolean given
/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-duplicate-
product.php(171)
$exclude is evaluated as a boolean.
2015-08-02 00:35:58 -07:00
Fredrik Rossland
841beb95a6
Found a typo, "Permissons"
...
Changed "Permissons" to "Permissions"
2015-08-01 19:42:10 +02:00
Brent Shepherd
501f0b752f
Save product type before saving variations
...
WooCommerce prior to WC 2.4 saved the product type before any variations were saved because
WC_Meta_Box_Product_Data::save_variations() was called by WC_Meta_Box_Product_Data::save().
However, in WC 2.4 the variations are saved independently of other data about the containing
variable product, including product type. Because the product type hasn't been saved yet,
extensions that need to save their own variation level meta data can't know when saving
variations if the product is of the type they want to act on. They also can't check `$_POST`
to find out when saving variations, because 'product-type' isn't passed to that as it's
variable level meta data, not variation level meta data.
This patch passes the product type along with the variation level meta data when saving variations.
It then uses that to save the product type if the variable product has not yet been saved (and
therefore the product type has never been stored, which means calling get_product() would instantiate
a 'simple' product, as that is the default product type). This can lead to fatal errors if callbacks
expect the product type to be variable and attempt to call methods that only exist on those product
types, like variable_product_sync().
It will also update the product type if it was previously saved but has since changed. This prevents
fatal errors like that mentioned above but caused by switching from one product type, like a simple
product, to another, like a variable product.
2015-07-31 11:42:21 -07:00
JeroenSormani
2c81a71f04
Define DOING_AJAX early
2015-07-31 20:15:17 +02:00
Mike Jolley
e7dfff8687
Update wording and add tooltip
...
#8690
2015-07-31 17:14:28 +01:00
Mike Jolley
61cb48afd7
Tweak wc ajax to post to the CURRENT URL rather than a fixed endpoint
2015-07-31 12:56:27 +01:00
Mike Jolley
82f50cedb0
Allow menu_order sorting like in 2.3
...
Also allow setting manually to allow sorting between pages.
Fixes #8690
2015-07-31 12:39:23 +01:00
Mike Jolley
763c7dde35
Fix product image size saving
...
Fixes #8695
2015-07-31 11:29:04 +01:00
Claudio Sanches
a215c4ed3c
[API] Fixed variation without parent for v2
2015-07-30 21:53:00 -03:00
Claudio Sanches
a42b25ec4e
Merge pull request #8692 from Nils-Fredrik/master
...
Fix for #8691 : Variation without parent will not cause 500.
2015-07-30 21:51:13 -03:00
Claudio Sanches
6c4893e0b2
Introduces the woocommerce_ajax_admin_get_variations_args filter, closes #8690
2015-07-30 19:11:53 -03:00
nils-fredrik@maksimer.no
f4db67bcbc
Fix for #8691 : Variation without parent will not cause 500.
2015-07-30 23:32:24 +02:00
Claudio Sanches
09145181e5
[API] Removed deprecated products/sku endpoint
2015-07-30 17:35:14 -03:00
Claudio Sanches
002b5df763
Merge branch 'master' of github.com:woothemes/woocommerce
2015-07-30 15:07:52 -03:00
Claudio Sanches
0361a10e26
Removed instances of WC_Order in favor to wc_get_order(), closes #8689
2015-07-30 15:07:34 -03:00
Mike Jolley
64d38f6dd8
STOCK STATUS field for variations should never be hidden
...
Fixes #8687
2015-07-30 15:45:05 +01:00
Mike Jolley
622dc777f0
Correct number format in coupon total
2015-07-30 12:52:52 +01:00
Claudio Sanches
b28c6db7f5
Added button to dismiss variation error notices
2015-07-29 19:56:33 -03:00
Mike Jolley
7b2aec4791
Take item qty into consideration when refunding orders
...
Fixes #8675
2015-07-29 13:13:41 +01:00
Mike Jolley
b0ee9a8cc6
Handle text vs select attribute names vs slugs
2015-07-29 10:58:28 +01:00
Claudio Sanches
ef5f41d748
Fixed textdomain for api key last access unknown, closes #8672
2015-07-28 12:44:20 -03:00
Mike Jolley
060fb16e2e
Move Pre 2.4 handling for attributes - DRY
...
@claudiosmweb @franticpsyx
2015-07-28 16:20:51 +01:00
Mike Jolley
6626c68175
When syncing OLD products, update the attributes to 2.4 standard
2015-07-28 15:13:25 +01:00
Mike Jolley
f19ba7a755
Send line item when no name is set
...
Closes #8666
2015-07-28 11:41:37 +01:00
Mike Jolley
eb19532165
Show 'fee' label is empty
2015-07-28 11:32:53 +01:00
Mike Jolley
e4a8602490
filter: woocommerce_widget_cart_is_hidden
...
Closes #8670
2015-07-28 11:06:31 +01:00
Mike Jolley
1b45bcde0b
URL encode to preserve text attributes in permalinks
2015-07-28 10:37:24 +01:00
Mike Jolley
808c01cb90
Added woocommerce_single_variation hook for variation data and cart button to reduce code in template file and used hooks. @claudiosmweb
...
Removed woocommerce_before_variations_button @Ninos. Use
woocommerce_single_variation
2015-07-28 10:32:28 +01:00
WordCommerce
19205ec0e6
[2.4] Removed API status notification on the Settings
2015-07-27 23:59:08 +03:00
Claudio Sanches
30f9d81916
Fixed row actions to support WordPress 4.3, closes #8578
2015-07-27 16:14:41 -03:00
Mike Jolley
02243623ba
Correct key for stock level
...
#8605
2015-07-27 19:07:11 +01:00
Mike Jolley
794af1c013
When the stock level is changed via update_post_meta ensure the stock_status is kept in sync
...
Closes #8605
2015-07-27 19:04:08 +01:00
Claudio Sanches
b0ce578541
Show errors for admin ajax variations
2015-07-27 14:16:52 -03:00
Mike Jolley
236b493f3d
Removed extract
2015-07-27 17:48:31 +01:00
Mike Jolley
7c9cae830a
Populate variation_data with valid attributes only
...
@claudiosmweb
2015-07-27 17:48:30 +01:00
Mike Jolley
554a7f8141
Merge pull request #8657 from thenbrent/simplify_subscriptions_2_0
...
Update Simplify Commerce for Subscriptions v2.0
2015-07-27 16:57:03 +01:00
Mike Jolley
4d14ac8134
Missing closing tag
2015-07-27 16:50:55 +01:00
Mike Jolley
8d6858bb80
Sanitize not needed
2015-07-27 16:43:05 +01:00
Mike Jolley
9a7893ba23
Moved variation dropdowns logic into wc_dropdown_variation_attribute_options()
2015-07-27 16:42:22 +01:00
Mike Jolley
2ea6a2efab
Merge branch 'pr/8607'
2015-07-27 13:17:27 +01:00
Mike Jolley
973c3d1d7a
Tweak meta_is_product_attribute conditional to check for the existence of the get_variation_attributes method before running.
...
Closes #8660
2015-07-27 13:03:04 +01:00
Mike Jolley
b425b9bce6
Avoid extract to keep original $file_path intact
...
Closes #8636
2015-07-27 12:44:29 +01:00
Mike Jolley
0ab151562a
Fix issues with trailing slashes on permalinks
...
Closes #8658
2015-07-27 11:56:07 +01:00
Mike Jolley
dcd273d343
Rename transient - 45 chars is max legnth
2015-07-27 10:57:14 +01:00
Claudio Sanches
506f87f138
Removed post filter count, closes #8654
2015-07-24 22:36:51 -03:00
Brent Shepherd
aaaa5720f3
Simplify: Add support for multiple subscriptions
...
Nothing to see here. Easiest feature support ever.
2015-07-24 18:18:00 -07:00
Brent Shepherd
694929b0bf
Simplify: Update change failling payment method
...
For Subscriptions v2.0.
* Use new 'woocommerce_subscription_failing_payment_method_updated_' hook
* Use new wcs_is_subscription() method to run process_subscription() when the
transaction is for a subscription object.
* Save the card and customer IDs on the 'shop_subscription' post from the renewal
order rather than saving it on the order which purchased the subscription.
2015-07-24 18:17:57 -07:00
Brent Shepherd
e6ccf437e9
Simplify: Update order_contains_subscription()
...
To use Subscriptions 2.0 methods to avoid deprecated notices and move
use of old methods to WC_Addons_Gateway_Simplify_Commerce_Deprecated
2015-07-24 18:17:57 -07:00
Brent Shepherd
73999c5daf
Simplify: Remove meta from resubscribe orders
...
In Subscriptoins v2.0. Also deprecate the removal of it in 1.n, where
resubscribe orders were called "parent renewal orders".
2015-07-24 18:17:57 -07:00
Brent Shepherd
089485b3bf
Simplify: Update renewal payments for Subs v2.0
...
* Add new save_subscription_meta() method to allow us to save customer ID both
in Subscriptions 1.n on the original order and in 2.0 on the subscription/s
created for the order)
* Use the new 'woocommerce_scheduled_subscription_payment_simplify' hook and
deprecate use of the old 'scheduled_subscription_payment_simplify' hook by
moving it to the WC_Addons_Gateway_Simplify_Commerce_Deprecated class
* Use core WC methods on the renewal order passed to scheduled_subscription_payment()
to process the payment rather than having to call special Subscriptions API methods
like WC_Subscriptions_Manager::process_subscription_payments_on_order() and
WC_Subscriptions_Manager::process_subscription_payment_failure_on_order()
* Use the original order's total to determine the amount to charge up-front to
save having to call WC_Subscriptions_Order::get_total_initial_payment()
* Use a description for recurring payments that is consistent with standard orders,
i.e. "{Site Name} - Order {order_id}" instead of a description that does not include
the renewal order's ID. This helps link payments to orders (which can then be traced
to subscription/s).
2015-07-24 18:17:36 -07:00
Brent Shepherd
4c8e3788b3
Simplify: Support admin payment method changes
...
A new feature of Subscriptions v2.0.
2015-07-24 18:17:28 -07:00
Brent Shepherd
e689fe8f15
Add WC_Addons_Gateway_Simplify_Commerce_Deprecated
...
To manage compatibility with Subscriptions 1.n
2015-07-24 18:06:35 -07:00
Tamara Zuk
1bd4cf8fad
Define new `WC_DOING_AJAX` constant
...
This constant will allow extensions to selectively load files etc.
during a WC AJAX request.
2015-07-24 15:50:50 -04:00
Brent Shepherd
c8405d3d29
Remove deprecated comments and commented out code
...
Because WC_Meta_Box_Product_Data::save_variations() doesn't need to be
deprecated.
2015-07-23 22:24:07 -07:00
Brent Shepherd
ffdc13fb4b
Remove duplication in WC_Ajax::save_variations()
...
And use the original WC_Meta_Box_Product_Data::save_variations() method instead.
2015-07-23 22:15:44 -07:00
Brent Shepherd
4100204344
Match the two save_variations()
...
Specifically, match WC_Meta_Box_Product_Data::save_variations() to the newer,
almost identical, WC_Ajax::save_variations(), added in SHA: ae18af8c
(so that
we can eventually replace the newer WC_Ajax::save_variations().
2015-07-23 22:12:31 -07:00
Claudio Sanches
948c5c9cfc
Fixed the sanitization for text-based default attributes
2015-07-22 21:40:06 -03:00
Claudio Sanches
aa263ddc1e
[API] Updated variable product attributes update for the new standard of WC 2.4
2015-07-22 21:07:05 -03:00
Claudio Sanches
f3ac5657a4
Fixed link all variations when use text-based attributes
2015-07-22 18:57:50 -03:00
Claudio Sanches
1614696996
Fixed duplicated docblock
2015-07-22 12:05:25 -03:00
Claudio Sanches
6cac5e0f47
PayPal - Remove decimals when order currency is HUF, JPY or TWD, closes #8590
2015-07-22 11:43:12 -03:00
Claudio Sanches
aec1e28549
[API] Check if REDIRECT_URL exists, closes #8632
2015-07-21 20:08:19 -03:00
Claudio Sanches
7b6680f4ef
Just ignore round more if have a old version of PHP, closes #8629
2015-07-21 19:57:52 -03:00
Claudio Sanches
050d073678
Removed double ;; #8629
2015-07-21 19:49:05 -03:00
Claudio Sanches
70efb53934
Introduces the wc_cart_round_discount() function #8629
2015-07-21 19:45:13 -03:00
Claudio Sanches
e1858d299b
Changed WC_Download_Handler::count_download() from private to public, closes #8623
2015-07-21 19:03:40 -03:00
Claudio Sanches
c95988bc8a
Improve password sanitization in WC_Settings_API, closes #8627
...
@mikejolley
2015-07-21 18:37:12 -03:00
Claudio Sanches
7787673d33
Fix excluded posts ID in json_search_products()
2015-07-20 18:46:37 -03:00
Patrick Rauland
c7cbe3e681
removing blank line.
2015-07-20 13:56:08 -06:00
Claudio Sanches
f0b3d2fd9b
Code tweaks for #8620
2015-07-20 14:36:12 -03:00
Claudio Sanches
9f7e1f3054
Merge pull request #8620 from JodiWarren/master
...
Moves the loop product title into a function and creates a new action for it.
2015-07-20 14:27:31 -03:00
Claudio Sanches
6f45872646
Disabled DFW feature pointer for products, closes #8595
2015-07-20 14:15:51 -03:00
Jodi Warren
2fb5f5bf78
Change product title to a hooked function. Fixes #8601
2015-07-20 18:10:56 +01:00
Claudio Sanches
0eac4914df
[2.3] Fix check for relative downloadable product path, closes #8612
2015-07-20 13:56:28 -03:00
Claudio Sanches
6781f37fed
Merge branch 'master' of github.com:woothemes/woocommerce
2015-07-20 13:41:26 -03:00
Claudio Sanches
791c20ae51
Added param for exclude posts from wc-product-search, closes #8613
2015-07-20 13:41:14 -03:00
Claudio Sanches
4ff87d26f7
Merge pull request #8615 from franticpsyx/additional-shipping-methods-filter
...
[2.4] Filter to enable deprecated addon rates
2015-07-20 12:56:18 -03:00
Claudio Sanches
3a0d2f7c89
[API] Fixed edit coupon description, closes #8614
2015-07-20 12:49:21 -03:00
Manos Psychogyiopoulos
79516ad2b4
typo
2015-07-20 12:13:29 +03:00
Manos Psychogyiopoulos
504f646310
enable deprecated addon rates
2015-07-20 12:08:39 +03:00
Manos Psychogyiopoulos
18a7c6b7fb
back-compat with text-based attributes: defaults don't work in WC2.4
2015-07-18 12:34:41 +03:00
Claudio Sanches
095162df15
Merge branch 'master' of github.com:woothemes/woocommerce
2015-07-17 16:29:31 -03:00
Claudio Sanches
d976cd8340
Disabled states for AX, closes #8594
2015-07-17 16:29:21 -03:00
Josh Koberstein
38856b29c4
Correcting indentation
2015-07-16 16:02:33 -07:00
Josh Koberstein
922715791c
Passing array of term ids to wp_set_object_terms instead of term names.
2015-07-16 15:31:14 -07:00
Claudio Sanches
ebcc3c1920
Fixed docblock typo
2015-07-16 16:57:42 -03:00
Claudio Sanches
9e41552342
Removed all "@return void"
2015-07-16 16:55:48 -03:00
Claudio Sanches
8d2a98eab1
Improved some docblocks
2015-07-16 16:29:01 -03:00
Claudio Sanches
83bdf82767
Fixed docblock for WC_API_Orders::get_variation_id()
2015-07-16 16:14:39 -03:00
Claudio Sanches
eebd47ecf8
Improved truncated key description
2015-07-16 15:45:00 -03:00
Claudio Sanches
bb0811643c
Merge branch 'master' of github.com:woothemes/woocommerce
2015-07-16 15:42:11 -03:00
Claudio Sanches
e0be5a2e9f
Added truncated consumer key and last access fields in woocommerce_api_keys table
2015-07-16 15:42:00 -03:00
Mike Jolley
d1db647c05
Fix validate_sale_items logic for variable products
...
Closes #8591
2015-07-16 17:53:52 +01:00
Mike Jolley
cbf373ab3c
kses store notice
2015-07-16 17:06:15 +01:00
Claudio Sanches
7cc0c6044f
Return bool in WC_Emails::send(), closes #8593
2015-07-16 12:56:34 -03:00
Claudio Sanches
0806a66fc5
Fixed Grouping select, stop select if do not have parent_post and allow clear the selection, closes #8586
2015-07-16 12:51:38 -03:00
Mike Jolley
7285ce74e6
Tax display notice
2015-07-16 10:15:45 +01:00
Claudio Sanches
b3f1d41974
Merge pull request #8583 from bekarice/fix-create-api-key-typo
...
[2.4] Fix typo while creating API keys
2015-07-15 19:25:45 -03:00
Beka Rice
f227569659
Fix broken WooCommerce 101 video embeds
2015-07-15 18:19:47 -04:00
Beka Rice
54e00fc84a
Fix typo while creating API keys
...
adds missing closing parentheses around user email:
https://cldup.com/pvTlBGBMot.png
2015-07-15 17:30:41 -04:00
Claudio Sanches
0ca5b9f892
Added woocommerce_order_status_changed to order updated webhook, closes #8581
2015-07-15 16:39:11 -03:00
Claudio Sanches
9aca8d689b
Added HTML class row-title for coupons, orders, api keys and webhooks table lists
2015-07-15 15:45:57 -03:00
Mike Jolley
f42fa85eab
Variation tax status should always come from parent
2015-07-15 19:12:12 +01:00
Mike Jolley
db61edcb36
Unused vars
2015-07-15 16:37:30 +01:00
Mike Jolley
ed451f278f
Unused var
2015-07-15 16:37:29 +01:00
Mike Jolley
afbfd2b913
Tweak gzread
2015-07-15 16:37:29 +01:00
Mike Jolley
3749a10a4a
empty $theme_file
2015-07-15 16:16:10 +01:00
Mike Jolley
47c47ab93c
Avoid set_time_limit error supression
2015-07-15 16:14:32 +01:00
Mike Jolley
28c75c63dc
Unused code
2015-07-15 16:04:49 +01:00
Mike Jolley
db473cc369
Move refund logic into main order class.
...
These methods are not defined in the abstract.
2015-07-15 16:02:26 +01:00
Mike Jolley
9f703b96db
delete_version_transients in blocks of 1000 to prevent timeouts
...
Uses cron. @claudiosmweb Closes #8431
2015-07-15 15:12:54 +01:00
Mike Jolley
b38fbed7c4
Merge pull request #8580 from thenbrent/item_meta_hideprefix
...
Add $hideprefix param to WC_Order_Item_Meta::get_formatted_legacy()
2015-07-15 14:36:22 +02:00
Mike Jolley
0f7342a70d
Fix grouped product label
2015-07-15 13:33:45 +01: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
Shiva Poudel
cebaf41d34
Tweak - Template check docs btn as primary
2015-07-15 04:48:46 +05:45
Shiva Poudel
3fb422a7c2
Fix - Nonce check when hide admin notices
2015-07-15 04:40:47 +05:45
Shiva Poudel
5f30308512
No longer use of frontend colors notice
2015-07-15 04:39:28 +05:45
Shiva Poudel
6c936a162d
Tweak coding standard for update notice script
2015-07-15 04:38:32 +05:45
Claudio Sanches
a28c1c1e33
Fixed language update for en_US, closes #8568
2015-07-14 12:18:51 -03:00
Claudio Sanches
d2686f3d2e
Don't show language update message for en_US #8568
2015-07-14 12:04:14 -03:00
Claudio Sanches
409dd81ab9
Fixed unit tests for WC_Cart::get_remove_url()
2015-07-14 12:02:32 -03:00
Claudio Sanches
08b59015c4
Merge pull request #8573 from vicky081/patch-6
...
get_permalink to wc_get_page_permalink
2015-07-14 11:22:32 -03:00
Mike Jolley
c707f771ad
serializeJSON to maintain POST data structure
...
@claudiosmweb
2015-07-14 13:49:45 +01:00
Mike Jolley
c412a2eb3e
Set $post during variation addition
2015-07-14 13:49:13 +01:00
Vignesh
0588c9fe1c
get_permalink to wc_get_page_permalink
...
changed get_permalink to wc_get_page_permalink on class-wc-cart.php
2015-07-14 17:49:29 +05:30
Mike Jolley
8bf1cf60c5
Set $post global so its available like within the admin screens
...
@claudiosmweb
2015-07-14 12:28:31 +01:00
Mike Jolley
015ace770d
Split up bulk edit ajax methods
2015-07-14 11:39:48 +01:00
Mike Jolley
9b21c1c7a1
Add deprecation notices for woocommerce_update_option_X and keep this action working.
...
Before this change, options would be overwritten by the new filters.
2015-07-14 10:10:07 +01:00
Claudio Sanches
57ab3dc0c2
Improved WC_Language_Pack_Upgrader #8568
2015-07-13 17:29:45 -03:00
Claudio Sanches
2cc7fcfa3f
Fixed missing textdomains
2015-07-13 11:03:03 -03:00
Mike Jolley
53916e38bb
Just return the URL
2015-07-13 11:00:10 +01:00
Mike Jolley
ef89f82014
wc_get_page_permalink should check page_id was found
2015-07-13 10:59:34 +01:00
Vignesh
e063d068d7
get_permalink to wc_get_page_permalink
...
Changed get_permalink to wc_get_page_permalink.
2015-07-13 15:01:52 +05:30
Mike Jolley
2f3cf18013
filter empty values during upgrade
2015-07-13 09:41:28 +01:00
Nicola Mustone
35d8572e0b
new outdated templates tutorial link
2015-07-13 09:36:36 +02:00
Claudio Sanches
eea72552f6
Added support for Jetpack Markdown in product short description, closes #8563
2015-07-11 21:35:47 -03:00
Max Rice
a9f6f7fdfe
Introduce woocommerce_order_full_refunded_status filter
...
In certain situations it’s undesirable to automatically change the
order status for an order that has been fully refunded. For example, an
order processed with a credit card whose charge has been authorized but
not yet captured is typically voided, not refunded since no funds have
actually been transferred. In that case, it’s ideal to allow gateways
to change the status to cancelled instead.
2015-07-10 19:51:02 -04:00
Claudio Sanches
9e4dc64f55
Merge branch 'master' of github.com:woothemes/woocommerce
2015-07-10 20:17:27 -03:00
Claudio Sanches
b8a28bdab4
Admin variations - Cancel button reset the default form values
...
@mikejolley
2015-07-10 20:16:35 -03:00
Mike Jolley
86e0aa106e
bulk_edit
2015-07-11 00:05:13 +01:00
Mike Jolley
3ec4003bbb
Move add variation button and toolbars
2015-07-11 00:04:16 +01:00
Patrick Garman
fb84486798
Update WC_Logger to include actions on add & clear methods
...
This allows for easy integrating with third party logging services.
2015-07-10 14:26:30 -05:00
Claudio Sanches
a01660cbba
Fixed WC_API_Products::clear_product()
2015-07-10 10:49:18 -03:00
Mike Jolley
157503a6d3
20 not 25
2015-07-10 14:26:39 +01:00
Mike Jolley
3446880705
Translators
2015-07-10 14:02:52 +01:00
Mike Jolley
33877624ac
Welcome page content
2015-07-10 14:00:21 +01:00
Mike Jolley
2834eff221
Merge branch 'variations-8477'
...
Conflicts:
assets/js/frontend/add-to-cart-variation.js
assets/js/frontend/add-to-cart-variation.min.js
assets/js/frontend/add-to-cart.min.js
assets/js/frontend/checkout.min.js
assets/js/frontend/geolocation.min.js
2015-07-10 11:37:05 +01:00
Mike Jolley
1cd2e558ed
Remove add to cart variable from links
...
Closes #8554
2015-07-10 11:17:21 +01:00
Mike Jolley
8bf4469178
woocommerce_save_account_details_errors action
...
Closes #8532
2015-07-10 11:11:51 +01:00
Mike Jolley
ea82ce9f06
Tweak display name to only change if set to an email
...
#8532
2015-07-10 11:09:14 +01:00
Mike Jolley
a976d8e2ba
Don't add hyphens for cities
...
Closes #8547
2015-07-10 11:02:08 +01:00
Mike Jolley
d5a74203c2
Only need one numeric check
2015-07-10 10:48:29 +01:00
nils-fredrik@maksimer.no
3c2b54b360
Fix for #8550
2015-07-10 09:32:10 +02:00
Claudio Sanches
76b312b9e7
Use always min.js files on admin
2015-07-10 01:32:30 -03:00
Claudio Sanches
987a789367
Admin variations - Show link all variations bulk action
2015-07-10 00:49:52 -03:00
Claudio Sanches
3394277a86
Admin variations - Set _stock_status when link all variations
2015-07-09 18:28:02 -03:00
Claudio Sanches
c5ae7b18c7
Created woocommerce_ajax_save_product_variations action
2015-07-09 17:43:46 -03:00
Claudio Sanches
a64695b7f5
Admin variations - Added new triggers and removed data-product_id
2015-07-09 17:31:48 -03:00
Claudio Sanches
ce08c336e9
Updated jquery.payment.js to version 1.2.4
2015-07-09 17:17:34 -03:00
Mike Jolley
506b5ef3f6
Set total after update_shipping
...
Based on add_shipping code Closes #8475
2015-07-09 16:48:34 +01:00
Mike Jolley
60193c7861
Pass product to woocommerce_ajax_variation_threshold
2015-07-09 16:31:46 +01:00
Mike Jolley
30b01ff9b6
Add filter to force price display
2015-07-09 16:15:05 +01:00
Mike Jolley
85855938ec
woocommerce_ajax_variation_threshold
2015-07-09 16:04:46 +01:00
Mike Jolley
5f8a5bcb63
We don't need get_transient_version for children transients because other products do not affect this.
2015-07-09 16:02:26 +01:00
Mike Jolley
eaed944048
Tweak template logic to load variations when needed
2015-07-09 15:58:58 +01:00
Mike Jolley
65f19d5ca7
Ajax variation handling
...
If there are more variations than the threshold allows (set to 20
currently) this loads the matching variation via ajax instead of inline
in the HTML. #8477
2015-07-09 15:56:20 +01:00
Claudio Sanches
c4c2ebd038
Merge pull request #8536 from vicky081/patch-3
...
Class attribute added for Checkbox in settings
2015-07-09 11:43:00 -03:00
Vignesh
91faacb4c9
Return the output directly
...
Return the output directly instead of variable.
2015-07-09 13:39:29 +05:30
Mike Jolley
34f149bcbf
Replace dash with colon
2015-07-08 23:51:44 +01:00
Mike Jolley
fedfa53754
expand/close
2015-07-08 23:46:19 +01:00
Mike Jolley
a219243e60
Move link all variations to bulk actions
2015-07-08 23:34:21 +01:00
Mike Jolley
8161cbd095
Change remove buttons into links
2015-07-08 23:08:07 +01:00
Claudio Sanches
042a6644e2
Ajaxify grouped product option, closes #7751
2015-07-08 18:38:17 -03:00
Claudio Sanches
89cef9ff02
Introduces methods to WC_Abstract_Order for get customer full name
...
New methods:
WC_Abstract_Order::get_formatted_billing_full_name()
WC_Abstract_Order::get_formatted_shipping_full_name()
closes #8535
cc: @mikejolley
2015-07-08 18:00:19 -03:00
Claudio Sanches
94aa610dc0
Admin variations - Prompt when changing page #6995
2015-07-08 17:45:19 -03:00
Claudio Sanches
0a820f055f
Admin variations - Add cancel changes button #6995
2015-07-08 16:10:45 -03:00
Claudio Sanches
064af9a54c
Admin variations - Split the save button from the link/add buttons #6995
2015-07-08 15:53:00 -03:00
Claudio Sanches
bed51c6d0c
Removed code test on WC_AJAX::save_variations()
2015-07-08 14:17:33 -03:00
Claudio Sanches
ffef95f56f
Fixed ajax variations posted data
2015-07-08 13:55:29 -03:00
Vignesh
8a4e7e34ca
Update class-wc-admin-settings.php
2015-07-08 20:42:04 +05:30
Vignesh
4eef4bf846
Class attribute added for Checkbox in settings
...
Noticed class attribute missed in checkbox of admin settings function, this class name will help for developer also, can you please consider this as my proposal?
2015-07-08 20:24:36 +05:30
Mike Jolley
38d0d0dcad
trim invalid chars from sum
2015-07-08 11:02:20 +01:00
Mike Jolley
d19a7d2c2e
Shipping debug for all users
2015-07-08 11:02:20 +01:00
Claudio Sanches
2ec12a7985
Prevent errors when variation don't have sale price dates
2015-07-08 04:05:08 -03:00
Claudio Sanches
843a55a6b5
Admin ajax variations
2015-07-07 20:53:36 -03:00
Claudio Sanches
c03ea5625d
Fixed the delete all variable products action
2015-07-07 19:51:50 -03:00
Claudio Sanches
4f3fb07dc9
Added new styles for variable pagenav
2015-07-07 19:06:51 -03:00
Claudio Sanches
bbe3cb5b1b
Added bulk variation edit for increase and decrease prices
2015-07-07 17:35:21 -03:00
Claudio Sanches
8b681fddf7
Created bulk edit actions for variable sale schedule
2015-07-07 16:39:59 -03:00
Claudio Sanches
e69d172f6c
Fixed bulk variation edit and added cases to save regular and sales prices
2015-07-07 16:07:09 -03:00
Claudio Sanches
11ca22ef1a
Created _wc_save_product_price() private function
2015-07-07 16:06:34 -03:00
Mike Jolley
85dcee63ae
Flat rate shipping costs should ignore virtual items.
...
Closes #8506
2015-07-07 10:41:56 +01:00
Claudio Sanches
268a696918
Initial bulk edit variations actions
2015-07-06 22:50:35 -03:00
Claudio Sanches
de01133142
Save only updated/edited variations and fixed the variations sync and product cache/transients
2015-07-06 19:07:01 -03:00
Claudio Sanches
af0b786104
Improved relative path check #8503
2015-07-06 15:02:15 -03:00
Claudio Sanches
e888294caa
[2.3] Fixed download URL for relative paths, closes #8503
2015-07-06 15:00:04 -03:00
Claudio Sanches
ffd63efbe2
Merge pull request #8513 from paulwilde/woocommerce-form-field
...
Refactor woocommerce_form_field to remove duplication.
2015-07-06 14:07:33 -03:00
Mike Jolley
fd6fd817a2
Merge pull request #8516 from Sk-Shaikat/master
...
Refund deleted hook parameter fix
2015-07-06 18:57:39 +02:00
Claudio Sanches
47eb3c5deb
Merge pull request #8523 from adnanoner/master
...
Add variable $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
2015-07-06 13:52:35 -03:00
Mike Jolley
6676ed08fa
500 response on IPN fail
...
Closes #8519
2015-07-06 17:48:46 +01:00
adnanoner
725e3ee4e0
Add $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
...
This comes in handy when you want change the line_items loop.
In my case I wanted to have a single line for each order items (per quantity) so I could edit the order and change the product for individual items. Would be appreciated if this could be merged.
2015-07-06 18:09:06 +02:00
Mike Jolley
270eb785da
Merge pull request #8522 from shivapoudel/wp_json_encode
...
Encode pointers into json, with some sanity checks
2015-07-06 18:07:02 +02:00
Mike Jolley
e908055f31
Only check changelog for woothemes plugin URI plugins
...
Closes #8520
2015-07-06 16:02:34 +01:00
Mike Jolley
439ce9eed2
Merge branch 'save-fields-refactor-8495'
...
Closes #8495
2015-07-06 15:31:43 +01:00
Mike Jolley
2440717f72
live -> interactive
2015-07-06 14:52:41 +01:00
Shiva Poudel
3d328c92c4
Method should be conditional_includes
2015-07-06 15:34:31 +05:45
Shiva Poudel
ba2afde068
Encode pointers into json, with some sanity checks
2015-07-06 15:30:10 +05:45
Mike Jolley
792536bd8e
Prevent white space in report
...
Closes #8499
2015-07-06 10:18:23 +01:00
Claudio Sanches
ae18af8cc7
Added method to save variations via ajax
2015-07-06 01:50:20 -03:00
Claudio Sanches
2dc0ef3f86
Added method to set the pagenav fields when add and remove variations
2015-07-06 01:09:36 -03:00
Claudio Sanches
c3b5ad2337
Refactored the link all variations, remove variation and add variation methods
2015-07-05 23:55:08 -03:00
Claudio Sanches
ee437bb646
Improved the navigation and tested if variations have some edition
2015-07-05 22:31:56 -03:00
Claudio Sanches
3de8405cc9
Created variations ajax pagination
2015-07-05 22:00:38 -03:00
Claudio Sanches
b16b026647
Load initial variations when click on variations tab
2015-07-05 20:19:45 -03:00
Mike Jolley
18c6a940f1
Merge branch 'onboarding'
...
Conflicts:
assets/css/admin.css
assets/css/select2.css
assets/css/woocommerce-layout.css
assets/css/woocommerce.css
assets/js/admin/order-backbone-modal.min.js
includes/admin/class-wc-admin-help.php
includes/admin/class-wc-admin.php
includes/admin/views/html-admin-page-status-report.php
includes/admin/views/html-notice-install.php
includes/admin/views/html-notice-template-check.php
includes/admin/views/html-notice-theme-support.php
includes/admin/views/html-notice-tracking.php
includes/class-wc-install.php
includes/class-wc-language-pack-upgrader.php
includes/shipping/international-delivery/class-wc-shipping-international
-delivery.php
2015-07-04 23:11:12 +01:00
Mike Jolley
1257343006
Added missing locales based on popularity (from tracker)
2015-07-04 22:35:23 +01:00
Mike Jolley
45d89438c7
Ensure cart item key is set
2015-07-04 15:25:08 +01:00
Mohaiminul Islam
653bb17414
Add new parameter on refund deleted hook
...
This hook parameter dose not helps to get order id when trigger in action due to delete that post. This should add '$order_id' as parameter
2015-07-04 15:22:19 +06:00
Mohaiminul Islam
64f2e2bed0
Refund deleted hook parameter fix
...
This hook parameter dose not trigger in action due to delete that post. This should set '$order_id' as parameter
2015-07-04 14:17:05 +06:00
Paul Wilde
e62291963f
Set featured image labels for product image.
2015-07-03 20:57:16 +01:00
Paul Wilde
5c5e6fb015
Refactor woocommerce_form_field so that the container, label and description are not repeated for every field type.
2015-07-03 20:37:47 +01:00
Claudio Sanches
3d59933d6b
Created initial methods to load variations by ajax
2015-07-02 17:42:22 -03:00
Andrew Wikel
968586f2ed
Update to reflect current PayPal menu structure
...
Just update instructions to be more accurate.
2015-07-01 14:53:16 -05:00
Mike Jolley
02464c62cf
Revised HELP tabs
...
Added links to education partners (@jobthomas) and included WooCommerce
101 videos in context.
2015-07-01 15:22:43 +01:00
Mike Jolley
f779166bd1
onboarding site links #7829
2015-07-01 13:38:24 +01:00
Mike Jolley
84f0b541ed
Tweak wording and US states
2015-07-01 13:30:34 +01:00
Mike Jolley
7d1a016502
Adjust sales report to deal with partial shipping refunds and full refunds
2015-07-01 12:11:21 +01:00
Mike Jolley
99b96daf70
Wording for inc/ex prices
2015-06-30 14:06:36 +01:00
Mike Jolley
049c95e724
Filter all item data
...
Closes #8361
2015-06-30 13:40:32 +01:00
Mike Jolley
dc00921ced
Merge pull request #8486 from justinshreve/get-price-suffix-price-param
...
Add $price and $qty parameters to get_price_suffix
2015-06-30 12:59:43 +02:00
Justin Shreve
eb85cd1682
Add $price and $qty to get_price_suffix so custom values can be passed into get_price_including_tax and get_price_excluding_tax
2015-06-29 19:24:48 +00:00
Justin Sainton
4d5d018a34
Deprecate PHP4 constructor usage in widgets. This is deprecated in upcoming PHP versions.
2015-06-29 11:46:03 -07:00
Claudio Sanches
c13409150f
Fixed tests for get_woocommerce_currencies()
...
@mikejolley
2015-06-29 15:13:42 -03:00
Gregory Karpinsky
9094bb0662
Do not FATAL on $product->has_file
2015-06-29 09:08:16 -04:00
Mike Jolley
eae15e9d72
Merge pull request #8453 from corsonr/low_stock_email_tweak
...
Add product stock in low stock email notification
2015-06-29 12:22:29 +02:00
Remi Corson
66b6536054
no more brackets
2015-06-29 11:06:41 +02:00
Remi Corson
a2a903d71a
fixed string
2015-06-29 09:57:58 +02:00
Mike Jolley
d0a41989c9
Merge pull request #8451 from slash1andy/patch-1
...
Changed "pending" to "processing"
2015-06-28 16:48:03 +02:00
roykho
c208928b0e
remove hardcoded tree type
2015-06-27 07:41:24 -07:00
Claudio Sanches
289e44e1db
Merge pull request #8471 from vicky081/patch-1
...
Removed Commented Code
2015-06-27 09:13:52 -03:00
Gerhard
230301e6da
Don't reveal username when login failed on valid email login
2015-06-26 14:15:31 +02:00
Claudio Sanches
ec0783f382
Fixed deprecated woocommerce_lostpassword_url() and lost password url on myaccount/form-login.php
...
ref #8459
2015-06-25 15:17:06 -03:00
Claudio Sanches
22ac2f56bf
Added Argentine currency and symbol
2015-06-25 12:58:58 -03:00
Vignesh
1241dcee69
Removed Commented Code
2015-06-25 21:24:05 +05:30
Remi Corson
67400956eb
add product stock in low stock email notification
2015-06-25 10:09:12 +02:00
Andrew Wikel
6b5cf56b66
Changed "pending" to "processing"
...
reflects more accurate order statuses.
2015-06-24 15:57:28 -05:00
Claudio Sanches
6e114d4f3c
Updated the docblock for deprecated vars in woocommerce_get_product_thumbnail(), closes #8441
2015-06-23 12:46:37 -03:00
Claudio Sanches
349fc2f665
[API] post__in filter for v2
2015-06-23 11:51:40 -03:00
Claudio Sanches
e003b7803f
Merge pull request #8440 from kilbot/patch-4
...
Add post__not_in filter for REST API requests
2015-06-23 11:50:36 -03:00
Claudio Sanches
9dc28be577
Support HTTP_X_HTTP_METHOD_OVERRIDE in API old versions
2015-06-23 11:49:19 -03:00
Paul Kilmurray
9b848fb1bd
Add post__not_in filter for REST API requests
...
To match the `post__in` filter above
2015-06-23 20:48:19 +08:00
Paul Kilmurray
a030ab52cb
Allow HTTP method to be overwritten by HTTP_X_HTTP_METHOD_OVERRIDE
...
For the same reasons [outlined here](https://github.com/WP-API/WP-API/issues/964 ), ie: Backbone uses X-HTTP-Method-Override.
2015-06-23 20:42:39 +08:00
Mike Jolley
71f2c25da4
Calc totals should not calc tax if disabled
2015-06-23 13:29:38 +01:00
Mike Jolley
84bc6e1b1a
Merge branch 'geolocate-cache'
...
Conflicts:
includes/class-wc-customer.php
Closes #7939
2015-06-23 12:26:03 +01:00
Mike Jolley
14c88b49bc
Tweak option labelling
2015-06-23 12:20:13 +01:00
Mike Jolley
00d574a929
get_taxable_address() should get postcode and city too.
...
@SiR-DanieL Can you check this?
2015-06-23 11:50:15 +01:00
Mike Jolley
1801f57a39
Fix for permalink structures containing index.php
2015-06-23 11:45:04 +01:00
Mike Jolley
817e5355fd
Pass $item object, not item meta array
...
Closes #8419
2015-06-23 10:24:13 +01:00
Claudio Sanches
b43abff674
Merge pull request #8415 from justinshreve/oauth-7928
...
Fix issues with our OAuth implementation, including nonconformance to spec. Closes #7928
2015-06-22 15:00:51 -03:00
Justin Shreve
819a4fae0d
wp_endswith doesn't actually exist (its a wpcom/jetpackism) - update with a simple substr check
2015-06-22 17:58:50 +00:00
Claudio Sanches
c92bc6d865
Merge pull request #8406 from justinshreve/api-basic-auth-8256
...
Implement full basic authentication & query string auth without mixing the two, closes #8256
2015-06-22 14:06:07 -03:00
adnanoner
d07e567050
add $args to woocommerce_refund_created action hook
...
#8432
2015-06-22 17:54:45 +02:00
Mike Jolley
9adbdd4a2c
Tweak URL generation before redirect
2015-06-22 15:30:42 +01:00
Mike Jolley
eb4cbaf69f
get_taxable_address does not need to handle geolocation_ajax any more
2015-06-22 15:30:34 +01:00
Mike Jolley
8dbd30e76b
Merge branch 'add-email-notification-for-partial-refunds-issue-8278'
2015-06-22 15:01:17 +01:00
Mike Jolley
07cc12049d
Merge remote-tracking branch 'origin/add-email-notification-for-partial-refunds-issue-8278' into add-email-notification-for-partial-refunds-issue-8278
2015-06-22 14:59:51 +01:00
Mike Jolley
f988aae387
Use hashes and server side redirection
2015-06-22 14:55:15 +01:00
davidlenehan
d7538559a8
Pulling customs refund email fields from wp_options
...
Pulling customs refund email fields from wp_options correctly now and
overriding the basic lookup for subject and heading.
2015-06-22 14:18:44 +01:00
davidlenehan
a171407bcb
Adding form fields for partial refund emails
...
This is not a working solution yet, looking for feedback on ho west to
implement this
2015-06-22 13:36:47 +01:00
davidlenehan
47c18b1947
Fixing issue where email settings were blank
...
Fixing issue where email strings were blank for refunded orders in
wp-admin > WooCommerce > Settings > emails
2015-06-22 11:14:19 +01:00
Mike Jolley
5937a08696
Fix cat dropdown URL
...
Because a filter is not a fix :)
Closes #8412
2015-06-22 10:22:15 +01:00