Max Rice
0b2cc1df28
Fix potential fatal error when fetching orders via API
2014-01-30 15:41:21 -05:00
Mike Jolley
274e78512e
Store POST to variable for paypal
2014-01-30 14:47:11 +00:00
Mike Jolley
531ba9ad34
Clean meta values in paypal gateway
2014-01-30 14:47:11 +00:00
Mike Jolley
189271e610
Validate the currency code sent back by paypal
2014-01-30 14:47:11 +00:00
James Koster
006541ae03
tweaked mijireh getting started message
2014-01-29 17:42:59 +00:00
Mike Jolley
4abcc331dd
Ensure stock status is set for variations after setting to 0 Closes #4587
2014-01-29 14:39:55 +00:00
Alex Bain
49f935dd8b
Enhancing nocache helper
...
* Adding support for DONOTCACHEOBJECT
* Adding support for DONOTCACHEDB
2014-01-28 10:26:01 -08:00
Mike Jolley
ad17813e70
Merge pull request #4590 from toddlahman/master
...
Removed urldecode from $_GET and $_REQUEST and Removed (document).ready from wc_print_js()
2014-01-28 09:58:59 -08:00
toddlahman
5432d3ac56
Revert "Moved woocommerce_round_tax_total() to Formatting"
...
This reverts commit 1f7ba8867e
.
2014-01-28 09:47:46 -08:00
Mike Jolley
6f3e8c182e
Ensure gateways get loaded prior to emailing out Closes #4577
2014-01-28 12:36:20 +00:00
Mike Jolley
663bf25d79
Merge pull request #4569 from helgatheviking/master
...
add apply_filters to the product filters on the edit.php screen
2014-01-28 04:21:33 -08:00
Mike Jolley
8f2b9afe93
Check for the term object
2014-01-28 12:13:19 +00:00
Mike Jolley
239d673646
Change featured image notation to product Closes #4586
2014-01-28 11:58:20 +00:00
Mike Jolley
39344f2ed5
Allow gateways to change the checkout place order button text on selection. Closes #4573
2014-01-28 11:25:57 +00:00
Mike Jolley
bd76784f97
Merge pull request #4583 from emzo/product-short-description-editor-settings
...
Filter to allow modification of wp_editor settings for product short description
2014-01-28 03:05:21 -08:00
Kathy Darling
77f5e9cf1d
Merge branch 'master' of github.com:woothemes/woocommerce
2014-01-27 19:02:31 +01:00
Emyr Thomas
fdc1d81814
Add 'woocommerce_product_short_description_editor_settings' filter to allow modification of the settings for the wp_editor in the product short description meta-box.
2014-01-27 14:23:58 +00:00
Roman Peshkov
16391b7185
Added check that product has been requested in WC_Query.product_query.
...
When requesting taxonomy term archive for your custom post type and that
taxonomy is shared with product post type, post_type query variable gets
rewritten.
2014-01-27 16:54:21 +04:00
toddlahman
33f2c5b4cd
Removed (document).ready from wc_print_js()
...
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.
http://api.jquery.com/ready/
2014-01-26 19:37:03 -08:00
Mike Jolley
f2ac6df16c
check for default Closes #4571
2014-01-26 13:59:10 +00:00
Mike Jolley
9d55ede6b1
Merge pull request #4568 from maxrice/rest-api-fixes
...
More REST API tweaks
2014-01-26 04:33:02 -08:00
toddlahman
2725527d4a
Removed urldecode from $_GET and $_REQUEST
...
The superglobals $_GET and $_REQUEST are already decoded. Using
urldecode() on an element in $_GET or $_REQUEST could have unexpected
and dangerous results.
See Notes:
http://us1.php.net/manual/en/function.urldecode.php
2014-01-26 01:19:17 -08:00
toddlahman
1f7ba8867e
Moved woocommerce_round_tax_total() to Formatting
...
woocommerce_round_tax_total() is not actually a deprecated function. In
WC 2.0, the round() method was used from the WC_Tax class.
Moved woocommerce_round_tax_total() from wc-deprecated-functions.php to
wc-formatting-functions.php.
2014-01-26 00:35:07 -08:00
splashingpixels
8f5bf6dde7
Replaced deprecated jQuery live methods with on
2014-01-24 10:34:48 -08:00
Kathy Darling
bf06494efc
add apply_filters to the product filters on the edit.php screen
2014-01-24 14:50:04 +01:00
Max Rice
f17a52fd3a
Make customer data for orders endpoint consistent for guest orders
...
Simply returning ‘guest’ for the customer property changes the data
type of the response from a dictionary to string which is bad for
clients that should be able to always expect a dictionary. This commit
fixes that by using the same dictionary structure as registered
customer orders, but excluding fields which aren’t applicable. Clients
can determine guest vs. registered customer orders by inspecting the
value of customer ID, which is 0 for guest orders.
2014-01-23 16:38:08 -05:00
Max Rice
ac1cd5d23d
Fix API keys permissions bug
...
When API keys were generated for the first time, the permissions
weren’t set, which required an additional save before they were set.
This commit fixes this to set `read` permissions by default when
initially generating API keys.
Part of #4055
2014-01-23 16:24:16 -05:00
Mike Jolley
1a416875f8
Format prices when using quick edit
2014-01-22 15:36:29 +00:00
Mike Jolley
3958a40b06
No span for checkbox descriptions
2014-01-22 15:27:42 +00:00
Mike Jolley
986f612bf7
tidy up checkbox output
2014-01-22 15:22:58 +00:00
Mike Jolley
15ba1030d6
Merge pull request #4561 from helgatheviking/fix/duplicate-label-for-settings-checkbox
...
fix for #4547
2014-01-22 07:03:23 -08:00
Mike Jolley
f46e6aefd7
Only show taxes in cart when taxes are enabled
2014-01-22 14:10:11 +00:00
Mike Jolley
e04fafcba9
Correctly total and loop fee taxes Closes #4559
2014-01-22 14:10:11 +00:00
Kathy Darling
f93abb7acb
fix for #4547
2014-01-22 13:54:25 +01:00
Geert De Deckere
2dc22a1416
Fix filter name for WC styles in deprecation notice
2014-01-22 09:42:51 +01:00
Mike Jolley
4fb500fad9
Merge pull request #4554 from claudiosmweb/fix_shop_order_columns
...
Fix warning in order list screen
2014-01-21 15:41:36 -08:00
Mike Jolley
fe83cfcbff
Merge pull request #4550 from maxrice/rest-api-top-sellers-endpoint
...
API: Add top sellers endpoint
2014-01-21 15:39:37 -08:00
Mike Jolley
fc4f813f71
Merge pull request #4552 from claudiosmweb/fix_4549
...
Hotfix for #4549
2014-01-21 15:39:30 -08:00
claudiosmweb
b60629e9b4
fixed some coding standards in includes/admin/reports/class-wc-report-sales-by-category.php
2014-01-21 20:14:26 -02:00
claudiosmweb
b717bca380
fixed the indentation in includes/admin/reports/class-wc-report-sales-by-category.php
2014-01-21 20:11:05 -02:00
claudiosmweb
43e86f3e28
added a placeholder to select in category widget on reports page
2014-01-21 20:10:40 -02:00
claudiosmweb
7e3268b7f0
fixed some coding standards in includes/admin/post-types/class-wc-admin-cpt-shop_order.php
2014-01-21 19:04:09 -02:00
claudiosmweb
9518cfdd31
fixed the indentation in includes/admin/post-types/class-wc-admin-cpt-shop_order.php
2014-01-21 18:52:07 -02:00
claudiosmweb
ed938f85d3
fixed the order notes tooltip
2014-01-21 18:51:52 -02:00
claudiosmweb
ae1c837e36
fixed some coding standards in includes/admin/reports/class-wc-report-coupon-usage.php
2014-01-21 18:23:42 -02:00
claudiosmweb
655bd20da1
fixed the indentation in includes/admin/reports/class-wc-report-coupon-usage.php
2014-01-21 18:20:35 -02:00
claudiosmweb
90373836bb
fixed empty coupons select in reports page, fixes #4549
2014-01-21 18:20:13 -02:00
Max Rice
37c9434492
API: Add top sellers endpoint
...
Part of #4055
2014-01-21 14:53:47 -05:00
Max Rice
49bacc6be3
Tweak code formatting
2014-01-21 14:07:22 -05:00
Mike Jolley
0ceb0d194b
Include admin functions for less complier on install. Closes #4527
2014-01-21 11:24:48 +00:00
Mike Jolley
f33c6a0970
Merge pull request #4539 from kloon/master
...
Remove esc_url_raw to allow for using of amazon s3 and other shortcodes
2014-01-21 03:14:27 -08:00
Mike Jolley
dc99669eec
Get exception message in cart Closes #4543
2014-01-21 11:14:23 +00:00
Gerhard
52267220e4
wc_clean on download url instead of esc_url to support shortcodes
2014-01-21 13:09:27 +02:00
Mike Jolley
91a1fe782f
Merge pull request #4540 from maxrice/rest-api-sales-report-tweak
...
API: Add customer count to each period for sales report
2014-01-21 02:54:11 -08:00
Max Rice
233a0a706d
API: Add customer count to each period for sales report
...
Part of #4055
2014-01-20 21:41:52 -05:00
Gerhard
9eaf0225b0
Remove esc_url_raw to allow for using of amazon s3 and other shortcodes in file url
2014-01-20 21:12:26 +02:00
Mike Jolley
98e49e3b99
Delete tax rates transients on settings save Closes #4503
2014-01-20 16:00:15 +00:00
Mike Jolley
0d52064bd8
Attachments is an array Closes #4531
2014-01-20 15:33:33 +00:00
Mike Jolley
87f6958e40
Merge pull request #4524 from DominoTree/patch-1
...
Minor fix to stop warnings in HHVM
2014-01-20 04:14:10 -08:00
Mike Jolley
9fe57f9dfe
Merge pull request #4518 from a3rev/master
...
Apply filter for wc_get_template_part() function
2014-01-20 04:12:35 -08:00
Mike Jolley
eafdc19c68
Merge pull request #4534 from tubiz/master
...
Add Naira Currency and Symbol to Woocommerce
2014-01-20 04:10:22 -08:00
James Collins
7f497b3fc9
Fix PHP Warning: parse_url() expects parameter 1 to be string, array given in includes/wc-formatting-functions.php on line 41. Fixes #4535 .
2014-01-20 09:21:50 +08:00
Tunbosun Ayinla
daf73f1252
Added Naira to Available Currency
...
Naira is the official currency of Nigeria. A lot of stores are powered
by WC in Nigeria. This commit add the Naira currency and symbol to WC
#4533
2014-01-19 20:55:29 +01:00
alexcsandru
6bf855709a
Update wc-template-functions.php
...
a little bug with esc_url instead esc_attr and result was (height="http://450 ")
2014-01-19 10:14:56 +02:00
Nick Price
e69f3d6b54
Minor fix to stop warnings in HHVM
...
HHVM is a bit weird and will throw these warnings otherwise:
HipHop Warning: Cannot access property on non-object in /home/_____/public_html/wp-content/plugins/woocommerce/classes/class-wc-product-factory.php on line 36
HipHop Warning: Cannot access property on non-object in /home/_____/public_html/wp-content/plugins/woocommerce/classes/class-wc-product-factory.php on line 37
2014-01-17 14:28:15 -06:00
a3rev
f1a00fe70c
Apply filter for wc_get_template_part() function
2014-01-16 14:46:48 +07:00
claudiosmweb
9abf6f63ab
fixed some coding standards in includes/admin/post-types/meta-boxes/class-wc-meta-box-coupon-data.php
2014-01-15 02:02:29 -02:00
claudiosmweb
990e765c24
fixed the indentation in includes/admin/post-types/meta-boxes/class-wc-meta-box-coupon-data.php
2014-01-15 01:58:07 -02:00
claudiosmweb
030cab584d
fixed validation for "Exclude products" in coupons metabox, fixes #4509
2014-01-15 01:57:41 -02:00
Mike Jolley
617d6dbd76
Merge pull request #4506 from thenbrent/master
...
Fix order discount input label "for" attribute
2014-01-14 09:14:48 -08:00
Mike Jolley
a53393e534
Merge pull request #4507 from thenbrent/cart-coupon-filters
...
Cart coupon filters
2014-01-14 09:14:34 -08:00
Mike Jolley
34c37f7493
Merge pull request #4508 from maxrice/rest-api-tweaks
...
REST API Tweaks
2014-01-14 09:13:23 -08:00
Renkas
03c0a3f7d0
Removed debug output
2014-01-14 14:30:42 +02:00
Max Rice
7f677300eb
API: Add feature image src to product response
2014-01-13 22:14:20 -05:00
Max Rice
8b6145691c
API: Add item price to order line items response
2014-01-13 22:14:08 -05:00
Max Rice
b6dbaebe01
API: Add subtotal to orders response
2014-01-13 22:13:48 -05:00
Max Rice
497ec8186e
Fix remove filter typo
2014-01-13 22:13:37 -05:00
Brent Shepherd
6610f71d5a
Fix order discount input label "for" attribute
2014-01-13 18:10:19 -08:00
Brent Shepherd
8ab50db41d
Add woocommerce_cart_totals_coupon_html filter
2014-01-13 17:25:54 -08:00
Brent Shepherd
66b7d4ee14
Add woocommerce_coupon_discount_amount_html filter
2014-01-13 17:25:54 -08:00
Mike Jolley
69694e7a13
Actions in each section of coupon admin Closes #4500
2014-01-13 12:51:00 +00:00
Mike Jolley
03f8d500a2
Input styling fixes
2014-01-13 12:46:54 +00:00
Mike Jolley
fcf43d9ac0
Customisable names for radios and checkboxes Closes #4493
2014-01-13 12:28:29 +00:00
Mike Jolley
39e45bff42
decompress #4501
2014-01-13 12:22:52 +00:00
Mike Jolley
ac24fe52fa
Check we have a product #4487
2014-01-13 11:39:54 +00:00
Mike Jolley
dc880c7af7
Missing updated class
2014-01-13 11:35:02 +00:00
Mike Jolley
d6c1725206
Merge pull request #4496 from claudiosmweb/fix_4495
...
Suggestion to fix the issue #4495
2014-01-13 03:33:12 -08:00
Mike Jolley
2e0291eff1
Merge pull request #4488 from GeertDD/cached_tax_rates
...
Cached tax rates
2014-01-13 03:19:52 -08:00
Mike Jolley
0297f8ed65
Merge pull request #4490 from claudiosmweb/fix_4489
...
Fix #4489
2014-01-13 03:05:34 -08:00
Mike Jolley
9ee977c524
Merge pull request #4485 from pmgarman/store-notice-conditional
...
Add is_store_notice_showing Conditional
2014-01-13 03:04:32 -08:00
Mike Jolley
95242473c8
Cleanup sessions - CONCAT is too slow.
...
Being tested in https://woothemes.zendesk.com/agent/#/tickets/133706
2014-01-13 10:45:35 +00:00
claudiosmweb
bdb7a3b288
fixed a small typo in includes/class-wc-install.php
2014-01-11 22:13:26 -02:00
claudiosmweb
c065617641
fixed wordpress coding standards in includes/class-wc-install.php
2014-01-11 22:05:14 -02:00
claudiosmweb
23b7ddc811
fixed the indentation in includes/class-wc-install.php
2014-01-11 21:56:50 -02:00
claudiosmweb
3a9630f29a
fixed the inventory settings install, fixes #4495
2014-01-11 21:56:29 -02:00
claudiosmweb
3d0fbc5204
fixed coding standards in includes/admin/class-wc-admin-dashboard.php
2014-01-10 22:18:28 -02:00
claudiosmweb
34213f0a84
fixed the indentation in includes/admin/class-wc-admin-dashboard.php
2014-01-10 22:15:33 -02:00
claudiosmweb
2dd9d81f3d
fixed hard code string, fixes #4489
2014-01-10 22:14:27 -02:00
Geert De Deckere
b1aabdcfc6
Merge branch 'master' into cached_tax_rates
2014-01-11 00:00:09 +01:00
Geert De Deckere
7169157297
Cache tax rates to save database queries
2014-01-10 23:57:19 +01:00
Patrick Garman
f3be3b16b6
Add is_store_notice_showing Conditional
...
Added public is_store_notice_showing conditional to `includes/wc-conditional-functions.php`
Replaced two instances of `get_option( 'woocommerce_demo_store' )` with the new conditional
2014-01-10 11:17:01 -06:00
Mike Jolley
656663ba47
is_woocommerce Closes #4475
2014-01-09 14:00:18 +00:00
Mike Jolley
48300f4ebf
woocommerce_reports_get_order_report_query Closes #4477
2014-01-09 13:57:42 +00:00
Coen Jacobs
3671eabd13
System Status bold text should have colons to split
2014-01-08 19:03:36 +01:00
Mike Jolley
478c87825f
More https ajax requests
2014-01-08 16:39:16 +00:00
Mike Jolley
34173bc1da
list_users for shop managers Closes #4354
2014-01-08 15:18:19 +00:00
Mike Jolley
e15c572465
Better handling for sent to admin/plain text args Closes #4359
2014-01-08 15:04:49 +00:00
Mike Jolley
8a73715c1f
Check specific ajax actions before enforcing HTTPS closes #4324
2014-01-08 14:53:38 +00:00
Mike Jolley
7ddd4d012a
Move localisation to address-i18n.js for account page. Closes #4446
2014-01-08 14:38:20 +00:00
Mike Jolley
51bd102fb8
Merge pull request #4448 from shoheitanaka/patch-8
...
Correct get_country_locale for Japanese
2014-01-08 06:23:12 -08:00
Mike Jolley
ddb755afd5
braces
2014-01-08 14:12:19 +00:00
Mike Jolley
72f51e7b05
Disabled for checkbox Closes #4387
2014-01-08 13:50:59 +00:00
Mike Jolley
f504243b56
Update timestamp check Closes #4409
2014-01-08 13:40:06 +00:00
Mike Jolley
a54223f910
Tweak message #4335
2014-01-08 13:38:34 +00:00
Coen Jacobs
660c0368b6
Merge pull request #4471 from shoheitanaka/master
...
misspelling in class-wc-admin-welcome.php
2014-01-08 05:36:45 -08:00
Mike Jolley
211658a8f4
Fix woocommerce_reset_loop Closes #4443
2014-01-08 13:23:40 +00:00
Mike Jolley
b9a78b5894
HTTPS for frontend only Closes #4324
2014-01-08 12:08:37 +00:00
Shohei Tanaka
618faaf519
misspelling in class-wc-admin-welcome.php
...
Misspelling is alterntative, correct is alternative.
2014-01-08 15:06:22 +09:00
Aristeides Stathopoulos
c5c340588e
Minor bugfix, missing comma
...
Missing comma causing errors in some cases
2014-01-07 22:14:35 +02:00
Mike Jolley
f36d67fa69
Merge pull request #4445 from toddlahman/master
...
improved ob_end_clean for download handler
2014-01-07 07:40:56 -08:00
Mike Jolley
9154eed860
Merge pull request #4461 from justinstern/master
...
Rename new woocommerce_order_item_quantity filter
2014-01-07 07:37:56 -08:00
Mike Jolley
b13250b620
Merge pull request #4453 from GeertDD/add_to_cart_notices
...
Improved notices in the add_to_cart() method
2014-01-07 06:41:38 -08:00
Mike Jolley
1fffd49e0a
Merge pull request #4457 from PURPORC/patch-1
...
Update abstract-wc-email.php
2014-01-07 06:37:47 -08:00
Mike Jolley
caa554faee
Merge pull request #4458 from ChromeOrange/master
...
Add delete tax rates option to system tools
2014-01-07 06:36:43 -08:00
Mike Jolley
85b4ca8c03
wc_has_notice function
2014-01-07 13:35:01 +00:00
Mike Jolley
858416605d
Don't resort meta in admin
2014-01-07 10:38:28 +00:00
justinstern
32d850a76a
woocommerce_stock_amount rather than intval
...
Using woocommerce_stock_amount filter rather than intval cast
2014-01-07 02:13:31 -05:00
Andrew Benbow
030131a311
Add delete tax rates option to system tools
2014-01-06 14:42:54 +00:00
PURPORC
d18bff3f5b
Update abstract-wc-email.php
...
Adds a plain text replacement for the dollar sign encoded as html entity.
2014-01-06 18:39:41 +11:00
Geert De Deckere
d563ff543d
Improved notices in the add_to_cart() method
...
- Moved the button markup out of the translation strings.
- Used get_cart_url() instead of get_permalink( wc_get_page_id( 'cart' ) ).
- Added some newlines to improve code readability.
2014-01-04 23:46:43 +01:00
Shohei Tanaka
72189fd0d4
Correct get_country_locale for Japanese
...
Change and correct for the plug-in introduction to Japanese environment.
2014-01-04 06:46:00 +09:00
Mike Jolley
7cafdb4bf8
Prevent settings loading twice
2014-01-03 14:13:18 +00:00
Mike Jolley
685403dc30
wordwrap #4397
2014-01-03 14:13:18 +00:00
toddlahman
6456b8d299
fix register nonce and register catch errors
2014-01-03 03:06:28 -08:00
toddlahman
75c76ff7b9
improved ob_end_clean for download handler
2014-01-02 18:35:17 -08:00
Shohei Tanaka
e6271e425d
correct the state field setting of Japan.
...
States file of JP.php has existed. So please delete this line.
2014-01-01 06:37:23 +09:00
Mike Jolley
d02b1386df
Meta box tips Closes #4367
2013-12-31 14:38:41 +00:00
Mike Jolley
a2688fad83
Fix ajax naming issues Closes #4368
2013-12-31 14:27:48 +00:00
Mike Jolley
18ffbdb82b
Tweak form handlers since they are the same form - removed empty coupon message as a result. Closes #4362
2013-12-31 14:02:50 +00:00
claudiosmweb
4efb0919d7
fixed coding standards in includes/gateways/paypal/class-wc-gateway-paypal.php
2013-12-31 10:53:55 -02:00
claudiosmweb
bf81f45abc
fixed the indentation in includes/gateways/paypal/class-wc-gateway-paypal.php
2013-12-31 10:45:02 -02:00
claudiosmweb
0b13814aac
fixed esc_urL() in get_paypal_args method
2013-12-31 10:43:48 -02:00
Mike Jolley
0b07b16e38
woocommerce_my_account_message #4429
2013-12-31 12:38:33 +00:00
Mike Jolley
8eb77f783d
Merge pull request #4429 from toddlahman/master
...
Registration error handler and my_account_message hook
2013-12-31 04:38:05 -08:00
Mike Jolley
7b1dc6fc41
Merge pull request #4437 from justinstern/master
...
A Pair of Useful Shipping Related Actions
2013-12-31 04:32:47 -08:00
Mike Jolley
5580d1e3dc
Link format #4395
2013-12-31 12:26:50 +00:00
Mike Jolley
e624f53c7d
Merge pull request #4434 from claudiosmweb/fix_reports_customer_list
...
Remove deprecated methods in includes/admin/reports/class-wc-report-customer-list.php
2013-12-31 04:15:12 -08:00
Mike Jolley
7bbbca39d6
Merge pull request #4436 from shoheitanaka/patch-5
...
correct address_formats in Japan
2013-12-31 04:14:10 -08:00
legas
fa85115260
Add missing textdomains
2013-12-31 09:50:01 +01:00
justinstern
9a2b801e7b
A Pair of Useful Shipping Related Actions
2013-12-30 18:59:09 -05:00