Mike Jolley
8e9539b0c2
scrutinizer issues in sales-by-category report
2015-01-20 09:53:33 +00:00
Mike Jolley
a494bf84de
Check if already set before setting in WC_Session.
...
Prevents unintended dirty sessions. Fixes #6846
2015-01-20 09:46:57 +00:00
Mike Jolley
7f2a6b5e41
Fix pagination by preventing old query args from being re-added to the link
...
Fixes #7164
2015-01-20 09:43:56 +00:00
Mike Jolley
0b393b7e82
Add comment #7163
2015-01-20 09:43:56 +00:00
Mike Jolley
0539431dd9
Merge pull request #7165 from maxrice/tweak-avatar-comment-types
...
Support avatars for the `review` comment type
2015-01-20 08:45:06 +00:00
Max Rice
96bc2ff25e
Support avatars for the `review` comment type
2015-01-20 00:26:33 -05:00
Brent Shepherd
f9f3054c22
Restore $theorder
...
SHA: 74ba11c189
removed instantiation of `$theorder` global in `WC_Meta_Box_Order_Actions::output()`
as it was mistaken for unused code. However, some callbacks attached to hooks in that function may
actually rely on that global to determine if actions should be displayed for certain orders.
2015-01-19 17:12:26 -08:00
Claudio Sanches
ab3553a6fd
Select2 translatable, closes #7159
2015-01-19 17:31:22 -02:00
Claudio Sanches
18b55a429e
[API] Added price_num_decimals to the index, closes #7149
2015-01-19 16:09:44 -02:00
Mike Jolley
f75a5d3a83
Merge pull request #7153 from helgatheviking/fix/php-notice-on-parse-query
...
changes tax_query to false for downloadable and virtual product filters
2015-01-19 14:51:23 +00:00
Mike Jolley
3716329b16
Prevent error when user does not exist
2015-01-19 14:50:06 +00:00
Mike Jolley
0d64e3854d
Add tooltips for manual and auto refunds Closes #7117
2015-01-19 14:50:06 +00:00
Mike Jolley
a9301323b5
Merge pull request #7113 from grey-rsi/master
...
add filters in admin reports
2015-01-19 14:05:58 +00:00
Kathy Darling
631099d6b2
changes tax_query to false for downloadable and virtual product filters. fixes #7152
2015-01-19 14:39:59 +01:00
Claudio Sanches
505501912f
Fixed "PHP Notice: Undefined variable: metabox_class" error for non-taxonomy attributes
2015-01-19 11:38:47 -02:00
Claudio Sanches
07e6996bf1
[API] Fixed the default attributes saving
2015-01-19 11:33:33 -02:00
Mike Jolley
33e046a4d0
Use WC_Cache_Helper to expire shipping cache on setting save, and transient clear
...
Closes #7151
2015-01-19 13:19:44 +00:00
Claudio Sanches
847720fe68
[API] Fixed attributes save for variations in products endpoint
2015-01-19 11:11:30 -02:00
Claudio Sanches
b6925d49ef
[API] Fixed errors when the description and short_description is empty in products endpoint
2015-01-19 10:52:44 -02:00
Mike Jolley
20a2b2d079
API: Product Prices should use store precision settings.
...
Fixes #7149
2015-01-19 11:35:12 +00:00
Mike Jolley
3590bfb198
Standard tax class is empty. Fixes #7142
2015-01-19 11:30:30 +00:00
Mike Jolley
ee8b3f22c3
Return WP_USER from check_password_reset_key
...
Closes #7134
2015-01-19 10:53:33 +00:00
Mike Jolley
53f32416c5
Ensure product exists before is_visible check
...
Closes #7146
2015-01-19 10:43:43 +00:00
Mike Jolley
bbfe9f273b
Merge pull request #7148 from SiR-DanieL/patch-3
...
Clearer coupon option description
2015-01-19 10:05:41 +00:00
Nicola Mustone
47b0c4cb97
clearer coupon option description
2015-01-19 09:18:44 +01:00
Max Rice
2d974987dc
Check strings using hash_equals
...
time-constant string comparison to prevent timing attacks
2015-01-19 00:34:09 -05:00
Max Rice
512d77fb4c
code standards
2015-01-19 00:33:38 -05:00
Max Rice
1f62a53e0e
Add hash_equals() function
2015-01-19 00:11:41 -05:00
Claudio Sanches
b896c5063f
Stop erros when the user does not exist in wc_customer_bought_product() function, closes #7145
2015-01-19 00:25:32 -02:00
shivapoudel
16047b7808
Added Nepal(NP) country locale used by the checkout
2015-01-19 00:45:19 +05:45
shivapoudel
5ce1e1e8a6
Refactor WC_Countries Class
2015-01-19 00:44:17 +05:45
Mike Jolley
36841589cf
Merge pull request #7123 from splashingpixels/variation-price-issue
...
correctly display FREE if all prices are zero ref #6929
2015-01-16 16:14:02 +00:00
splashingpixels
eee5d16844
changed comparison type to non strict in case a string is passed
2015-01-16 06:52:49 -08:00
Claudio Sanches
bd468b7ac1
Fixed a typo
2015-01-16 10:47:29 -02:00
Claudio Sanches
7062bbcd1a
Merge branch 'master' of github.com:woothemes/woocommerce
2015-01-16 10:32:53 -02:00
Claudio Sanches
f39c76beaa
Created the wc_format_content() function, closes #7126
2015-01-16 10:32:41 -02:00
splashingpixels
187f6729e9
correctly display FREE if all prices are zero ref #6929
2015-01-15 20:19:33 -08:00
Brent Shepherd
ed0593fc4a
Set variable product virtual/downloadable property
...
Based on whether all children are virtual/downloadable.
Fixes #7072 .
2015-01-15 17:06:09 -08:00
Claudio Sanches
a82aa2bd13
Fixed refund amount when product dont have taxes
2015-01-15 16:57:33 -02:00
Claudio Sanches
b3d6f6358e
Fixed the selected attributes in product variations panel, closes #7115
2015-01-15 16:01:55 -02:00
Mike Jolley
5612d54058
Refactor attribute save code
2015-01-15 16:32:13 +00:00
Mike Jolley
5b7d03271e
Pass reference to extract
2015-01-15 16:32:13 +00:00
Mike Jolley
d37e6d424a
Set $loop = 0;
2015-01-15 16:32:13 +00:00
Mike Jolley
a52f94fb42
$order_taxes check
2015-01-15 15:19:19 +00:00
Mike Jolley
fef41c149c
@uses WP_POST
2015-01-15 15:03:12 +00:00
Mike Jolley
dc902ecfed
form_fields docblock
2015-01-15 15:03:12 +00:00
Claudio Sanches
eda9eb07d4
Fixed quick/bulk edit product weight placeholders
2015-01-15 11:47:20 -02:00
Sergey
cb3ede640d
remove do_action
2015-01-15 15:13:12 +02:00
Claudio Sanches
26ea24ae4c
Removed useless data-tip in webhooks save button
2015-01-15 09:44:29 -02:00
Claudio Sanches
eeea3f0146
Fixed a typo in webhooks table list
2015-01-15 09:35:13 -02:00
Claudio Sanches
6ed21bb0cc
Removed ilegal brackets from context/msgctxt
2015-01-15 09:22:32 -02:00
Mike Jolley
c8699f6f76
Don't fire deprecated notice during ajax events
...
Closes #7110
2015-01-15 10:47:19 +00:00
matttallan
5265e432b3
Change wc-api-order private methods to protected.
2015-01-15 11:28:07 +10:00
Claudio Sanches
b174d7c179
Stopped error when users use the woocommerce_enqueue_styles filter in the wrong way #7104
2015-01-14 12:32:34 -02:00
Claudio Sanches
8928029ecb
Updated the docblocks in class-wc-cart.php
2015-01-14 10:40:35 -02:00
Claudio Sanches
0b4074cf22
Merge pull request #7103 from woothemes/cart-undo
...
Cart undo
2015-01-14 10:38:31 -02:00
Mike Jolley
298ddb19ad
Save removed items to session
2015-01-14 12:36:03 +00:00
Claudio Sanches
11150a54c5
Fixed a typo
2015-01-14 10:24:01 -02:00
Claudio Sanches
b232e99034
Merge branch 'master' of github.com:woothemes/woocommerce
2015-01-14 10:17:22 -02:00
Mike Jolley
e1c54687ac
Minor issues with variables
2015-01-14 12:17:19 +00:00
Claudio Sanches
6b8ce0c3fd
Merge branch 'master' of github.com:woothemes/woocommerce
2015-01-14 10:17:10 -02:00
Mike Jolley
206a650488
Tidy variation output
2015-01-14 12:17:09 +00:00
Claudio Sanches
ebf5763fd6
Added message about WooCommerce Colors plugin, closes #7099
2015-01-14 10:17:03 -02:00
Mike Jolley
8d8e57cbf5
Use @var to define vars passed in
2015-01-14 11:46:03 +00:00
Mike Jolley
32f2a44091
define @global
2015-01-14 11:32:00 +00:00
Mike Jolley
d70912c891
Define: $net_order_amounts
2015-01-14 11:28:00 +00:00
Mike Jolley
fcebc3b781
Missing Brackets in cart class
2015-01-14 11:16:21 +00:00
Claudio Sanches
9c52a70597
Fixed webhooks status description
2015-01-13 22:09:54 -02:00
Claudio Sanches
8e417f7c0f
Merge branch 'master' of github.com:woothemes/woocommerce
2015-01-13 17:55:55 -02:00
Claudio Sanches
b55ecea6ba
Used wp_unslash() instead of stripslashes_deep()
...
The WordPress documentation recommends:
"This should be used to remove slashes from data passed to core API that expects data to be unslashed. Use this instead of stripslashes_deep()."
2015-01-13 17:54:10 -02:00
MindyPostoff
72118fb28e
Update class-wc-email-customer-completed-order.php
2015-01-13 13:44:35 -05:00
Claudio Sanches
3ddcc68a19
includes/admin/meta-boxes/class-wc-meta-box-webhook-data.php
...
Removed old webhook file
2015-01-13 16:32:54 -02:00
Claudio Sanches
64f1f7f919
Fixed textdomains
2015-01-13 15:39:26 -02:00
Mike Jolley
04cb8c90c8
contributors
2015-01-13 16:16:01 +00:00
Mike Jolley
45b4364d90
Welcome page update Closes #7089
2015-01-13 16:12:54 +00:00
Mike Jolley
147258d5b8
Fix cart coupon on-sale checks for variations.
...
Closes #7078
2015-01-13 16:12:54 +00:00
Claudio Sanches
46769e89e2
Fixed doc comments for products api class
2015-01-13 13:44:30 -02:00
Claudio Sanches
22da603567
Simplify commerce hosted payments feature
2015-01-13 13:40:43 -02:00
Claudio Sanches
ecf7bd9f9a
[API] Show and use slug for attributes in products endpoint, closes #6537
2015-01-13 13:24:28 -02:00
Claudio Sanches
2d768f9553
Stop "Undefined variable: thepostid" error when add a new attribute
2015-01-13 13:09:43 -02:00
Sergey
b3e9b1e6d8
add do_action in wc_price function and filters in admin reports
2015-01-13 15:34:48 +02:00
Mike Jolley
4785684b92
Prices include tax require taxes enabled.
2015-01-13 12:54:31 +00:00
Mike Jolley
03043a7c02
Expiry date along with download details
...
Closes #7096
2015-01-13 12:29:37 +00:00
Mike Jolley
550e569a29
Tweak placement and styling of view link. #7065
2015-01-13 12:27:07 +00:00
Mike Jolley
9b8c23e2bd
Merge pull request #7065 from pagelines/master
...
Link to find all customers orders from order page.
2015-01-13 12:16:51 +00:00
Bryce
f3328ac601
Shows VN postcode field and moves before city
...
Closes #7094
2015-01-13 10:18:48 +07:00
Claudio Sanches
20470db763
Add select2 to State/Country user meta fields in admin profile #6359
2015-01-12 17:15:37 -02:00
Claudio Sanches
3cddfb44e9
Improved the woocommerce_api_query_args filter #7081
2015-01-12 16:46:30 -02:00
Claudio Sanches
695b04be61
Fixed conflits
2015-01-12 16:02:46 -02:00
Claudio Sanches
8e28c17c66
Merge pull request #7091 from woothemes/chosen-to-select2
...
Chosen to select2
2015-01-12 15:47:31 -02:00
Claudio Sanches
9a6dc0bf41
Added select2 for all settings fields
2015-01-12 15:45:47 -02:00
Mike Jolley
4769d27415
Added missing global $wpdb;
2015-01-12 17:18:17 +00:00
Claudio Sanches
017831f1c6
Fixed the backbone modal
2015-01-12 15:11:01 -02:00
Mike Jolley
2c32f6cdd0
Add functions to get money spent/order count for customers and fix in API Closes #7083
2015-01-12 17:09:46 +00:00
Mike Jolley
643892bd33
modify_user_query use 24 hour date format.
...
Closes #7082
2015-01-12 17:09:46 +00:00
Mike Jolley
2a5fdb0eac
Merge pull request #7086 from ChromeOrange/master
...
Update abstract-wc-order.php
2015-01-12 16:46:08 +00:00
Mike Jolley
8110a8376b
Upsells and cross sells select2
2015-01-12 16:39:49 +00:00
Mike Jolley
50c6e1e4a0
select2 settings
2015-01-12 16:29:01 +00:00
Mike Jolley
0fdd24c526
Select2 frontend
2015-01-12 16:16:13 +00:00
Claudio Sanches
4be3c9831e
Added the woocommerce_api_query_args filter, closes #7081
2015-01-12 13:59:27 -02:00