Commit Graph

1356 Commits

Author SHA1 Message Date
Mike Jolley 2802ded47e Change label and add description Closes #4698 2014-04-29 15:07:06 +01:00
Max Rice 7e2fa1bbd6 Clear cached API reports when deleting shop order transients 2014-04-29 15:05:43 +01:00
Remi Corson 17abdb223a fixed incorrect order received endpoit tooltip 2014-04-29 15:03:22 +01:00
splashingpixels 902e7e2506 fixed my account downloadables out of order 2014-04-29 15:02:51 +01:00
Akeda Bagus 86de4e10e1 Typo fix. 2014-04-29 15:02:43 +01:00
Christian Thomas ede8bc1a2a Update class-wc-emails.php
Check for a value against each meta item before outputting.
2014-04-29 15:02:38 +01:00
Akeda Bagus e4a959e397 Removes unused block and var.
There's duplicate block that does the same thing, but assigning to different variable.
On the end only the last variable is used, which is `$username`.
2014-04-29 15:02:29 +01:00
claudiosmweb 92707eaf55 fixed coding standards in includes/admin/post-types/class-wc-admin-cpt-product.php 2014-04-29 15:02:03 +01:00
claudiosmweb 8ae788f73c added method to stop save duplicate sku in quick edit 2014-04-29 15:01:32 +01:00
splashingpixels 8f5a98583a removed wc_clean/sanitize_text_field not needed. handled by wp core functions fixes #5318 2014-04-29 15:01:21 +01:00
Bass Jobsen 06af53bd8c Update class-wc-frontend-scripts.php
See also https://github.com/bassjobsen/wp-defer-loading/issues/14 prettyPhoto-init is not only dependent of jquery, but also of prettyPhoto. The dependency of prettyPhoto is not set.
2014-04-29 15:00:46 +01:00
Max Rice 0e127a3e10 Update REST API documentation link 2014-04-29 14:59:12 +01:00
Mike Jolley 433b8c1d41 Template cleanup 2014-04-23 11:35:43 +01:00
Mike Jolley c451bc95dc For customer search, join once. Performance increase. 2014-04-15 11:11:00 +01:00
Mike Jolley 7fd971b3ff Add label explaining discount field Closes #5300 2014-04-10 13:58:15 +01:00
Mike Jolley 3228fecbe5 Work out cart discount without tax amounts #5300 2014-04-10 13:58:10 +01:00
claudiosmweb 31cb09aec6 fixed some coding standards in includes/admin/settings/class-wc-settings-general.php 2014-04-10 13:57:25 +01:00
claudiosmweb a0ac62efca added validation when save the frontend colors, closes #5298 2014-04-10 13:57:20 +01:00
Mike Jolley 6fa57f707d Tweak reports query generator to reference table names
Fixes #5278
2014-04-10 13:57:02 +01:00
Mike Jolley b97181c08a get_image_id method + use in email template
Closes #5288
2014-04-10 13:56:56 +01:00
Mike Jolley f89147bd94 Remove nonce from comment form to prevent issues with caching 2014-04-10 13:55:23 +01:00
Gerhard 7ac9c39469 Fix _wc_session_expires autoloading 2014-04-10 13:54:07 +01:00
Mike Jolley cc682f15d9 Only show upgrade notices, and use transient cache
Closes #5211
2014-04-10 13:53:44 +01:00
Mike Jolley 5850b9329b Prevent notices on activation Closes #5216 2014-04-10 13:53:34 +01:00
Mike Jolley 8b59eb3bdb Delete term count transients after stock status change and trashed post
Closes #5286
2014-04-10 13:52:49 +01:00
Mike Jolley 99592a3efc cleaned up download handler, use network_site_url instead of network_admin_url for multisite 2014-04-10 13:52:33 +01:00
Mike Jolley c4c63982f9 During save_meta_boxes, only save for the "main" post being saved, not nested or subsequent save_post events
fixes #5229
2014-04-10 13:51:49 +01:00
Mike Jolley 01ee1089ec When hierarchy is off, only show children in the cat widget. Closes
#5245
2014-04-10 13:51:28 +01:00
Mike Jolley fc906b12d8 woocommerce_coupon_get_discount_amount filter in coupon class
Closes #5244
2014-04-10 13:50:52 +01:00
Mike Jolley 192c74eee6 Remove post_parent so grouped simple products are also returned
Fixes #5178
2014-04-10 13:50:36 +01:00
Mike Jolley 66a1b93fec Clean up labels and default cost to 0 for int shipping
Closes #5219
2014-04-10 13:50:17 +01:00
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