Mike Jolley
b4d63270b6
Stay on checkout when removing coupon Closes #5274
2014-04-10 13:50:13 +01:00
Gregory Karpinsky
5d8ace5d81
Update class-wc-admin-duplicate-product.php
...
Initialize `$sql_query_sel` before loop - to avoid code validation warning.
2014-04-10 13:49:58 +01:00
Gregory Karpinsky
3ac0005eec
Update class-wc-admin-duplicate-product.php
...
Corrected docblock for `dupe_link()`
2014-04-10 13:49:55 +01:00
Gregory Karpinsky
84e7c12095
Update class-wc-admin-duplicate-product.php
...
PHP Strict standards: Only variables should be assigned by reference
2014-04-10 13:49:52 +01:00
Max Rice
7ae0715624
Allow query string fallback for REST API SSL auth
...
In some environments, the PHP_AUTH_USER/PW server vars are empty which
prevents SSL authentication from working properly. This commit allows
the use of a query string fallback (e.g.
`?consumer_key=123&consumer_secret=abc`) for providing credentials over
SSL.
Fixes #5207
2014-04-10 13:49:37 +01:00
Max Rice
bde7b1cde9
Remove unnecessary OAuth code
...
The parameters provided to the API endpoints only contain the
parameters specified in the method signature so there’s no need to
strip out the OAuth params.
2014-04-10 13:49:25 +01:00
Remi Corson
ed09cb7ff2
Removed break line and space
2014-04-10 13:49:19 +01:00
Remi Corson
6491f1da80
Optimized is_paying_customer()
2014-04-10 13:49:15 +01:00
Mike Jolley
d43a48eb79
Clear featured transients when needed Closes #5254
2014-04-10 13:49:09 +01:00
Remi Corson
14267660da
Added is_paying_customer() to easily check if a user is a WC customer:
...
Usage:
`
$customer = new WC_Customer();
$out = 'Paying customer ? ';
if( $customer->is_paying_customer( 10 ) ) {
$out .= "yes";
} else {
$out .= "no";
}
echo $out;
`
2014-04-10 13:48:54 +01:00
Max Rice
ca8e0380e5
API: double-encode percent symbols when normalizing parameters
2014-04-10 13:48:13 +01:00
Max Rice
ba41a28654
API: normalize both key and value before calculating OAuth signature
...
The OAuth spec indicates that the full query string should be URL
encoded. The array_walk method does not change keys so when used with a
parameter like `filter[period]=week`, the key is not properly encoded.
This fixes that by properly encoding both the key and value.
2014-04-10 13:47:59 +01:00
Max Rice
3b26370117
code standards
2014-04-10 13:47:52 +01:00
Mike
3fb15a4e78
Change \WC_Order::add_order_note cap to edit_shop_order instead of manage_woocommerce
2014-04-10 13:47:47 +01:00
splashingpixels
afc17dad40
myaccount registration added check for auto generate password option
2014-04-10 13:47:34 +01:00
Patrick Rauland
ce2f2e1c3d
adding spaces after text for title in local delivery
2014-04-10 13:47:17 +01:00
Patrick Rauland
f9fafc7d16
using spaces after text
2014-04-10 13:47:13 +01:00
Manos Psychogyiopoulos
d6f8ef13d0
Allow filtering order statuses in dashboard reports widget
2014-04-10 13:47:09 +01:00
Gregory Karpinsky
0402400043
Update html-admin-page-status-report.php
...
Use `$wpdb->db_version()` instead of `mysql_get_server_info()` deprecated in PHP 5.5
2014-04-10 13:46:47 +01:00
Mike Jolley
e78323e1e4
Ensure _order_currency is set. Closes #5232
2014-04-10 13:46:28 +01:00
Mike Jolley
9e4d0b1114
Chunk option names in cleanup_sessions() Closes #5225
2014-04-10 13:46:20 +01:00
Patrick Rauland
d15edfff15
updating coupon email restriction tool tip
2014-04-10 13:46:01 +01:00
Max Rice
e739214e25
Use is_ssl() for get_woocommerce_api_url()
...
When accessing the API over OAuth for a site that has the checkout
forced over SSL, the OAuth string to sign is incorrect. This fixes that
by checking whether the current request is SSL when returning the api
URL
2014-04-10 13:45:56 +01:00
Andrew Benbow
fff214643d
Update form-shipping.php
2014-04-10 13:45:11 +01:00
Andrew Benbow
200e558568
Update form-shipping.php
2014-04-10 13:45:08 +01:00
Andrew Benbow
5ceb59b28f
Update class-wc-cart.php
2014-04-10 13:45:04 +01:00
Andrew Benbow
40fa2659ee
Update class-wc-cart.php
2014-04-10 13:45:01 +01:00
Andrew Benbow
df9a876e87
Update class-wc-cart.php
2014-04-10 13:44:58 +01:00
Andrew Benbow
caa382a611
Update form-shipping.php
2014-04-10 13:44:55 +01:00
Andrew Benbow
d0804490cd
Update form-shipping.php
...
Add filter to allow needs_shipping() to be overridden, useful if you want to collect a shipping address for virtual products.
Allows a filter to be used as replacement for get_option('woocommerce_require_shipping_address')
Previous suggestion of add_filter('woocommerce_cart_needs_shipping', '__return_true'); is not suitable
2014-04-10 13:44:51 +01:00
Mike Jolley
206feeabe8
When removing base taxes, round to precision.
2014-04-10 13:41:47 +01:00
Mike Jolley
f9b223bc7a
Check order exists when resuming on checkout
2014-04-10 13:41:35 +01:00
Gregory K
bb869562bd
Fix: additional-information.php
...
- Do not display empty <h2> tag
- Removed unused globals
- WP code style
2014-04-10 13:41:23 +01:00
JDGrimes
58273603aa
Check wc_checkout_params.is_checkout against string '1' instead of int 1
...
This was causing `’init_checkout’` not to be triggered on page load. I
noticed this when the taxes for an order weren’t being shown on the
checkout page until changing the billing address.
Introduced in b85b1ab03b
2014-04-10 13:40:55 +01:00
pauloiankoski
dc2f6928eb
Apply filters to $product_type
...
Apply filters to $product_type and we can set a default product type to new products.
2014-04-10 13:39:13 +01:00
splashingpixels
493136170f
orderby - skip adding hidden input of submit on a GET so JS can submit properly fixes #5221
2014-04-10 13:38:48 +01:00
Mike Jolley
39c574d201
Correctly round shipping + shipping tax together when passes the tax inclusive total to paypal
2014-04-10 13:37:21 +01:00
Mike Jolley
a2f3bb97c1
Fix the SKU search logic so it works with other filters. Closes #5208
2014-04-10 13:37:01 +01:00
Andrew Benbow
92a62c4ae4
Resolve conflict
2014-04-10 13:34:46 +01:00
Mike Jolley
9ddca77abd
Fix apigen search
2014-04-10 13:32:58 +01:00
Mike Jolley
d6f5a6f868
wp_kses_post for meta display in admin
2014-04-10 13:32:35 +01:00
profetes
23ecb9a2c5
WC API: can generate API keys for different user than the one that is making request
2014-04-10 13:28:00 +01:00
Coen Jacobs
2850b07f8e
This branch is now 2.1.7-bleeding
2014-03-25 16:09:22 +01:00
Coen Jacobs
95065b65ca
Version bump for 2.1.6
2014-03-25 15:33:49 +01:00
Mike Jolley
b7c841df7e
Translation updates
2014-03-25 14:22:06 +00:00
James Koster
80479d67a4
flat rate additional costs table
2014-03-25 14:10:42 +00:00
Mike Jolley
8d01dc9a67
readme
2014-03-25 13:41:53 +00:00
Mike Jolley
59b48c2945
Possible workaround for @BFTrick's issue.
2014-03-25 13:40:58 +00:00
Mike Jolley
8f09dc1ae2
delete terms transient during recount. #5204
2014-03-25 13:40:55 +00:00
Mike Jolley
2f605e75e5
Brackets
2014-03-25 13:40:51 +00:00