Commit Graph

1009 Commits

Author SHA1 Message Date
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
Shohei Tanaka ea3834cdcc correct address_formats in Japan
in Japan ,the name order is last (family) name to first name.
2013-12-31 06:35:21 +09:00
claudiosmweb 9aaa8c8875 fixed coding standards 2013-12-30 14:28:39 -02:00
claudiosmweb b68b6f2faf fixed the indentation in includes/admin/reports/class-wc-report-customer-list.php 2013-12-30 14:25:35 -02:00
claudiosmweb 94586aa5b9 changed wpdb::escape to esc_sql() 2013-12-30 14:24:49 -02:00
Mike Jolley ee6c7c6d4c wc_print_notices Closes #4431 2013-12-30 14:29:13 +00:00
Mike Jolley 67af66b96c Add classes for placeholder Closes #4432 2013-12-30 14:22:13 +00:00
Mike Jolley cdb1ad5e9e On cancel, use cart page unless otherwise defined. Closes #4375 2013-12-30 14:09:50 +00:00
Mike Jolley 3ab0b5e248 Merge pull request #4428 from justinstern/master
Notice fix and Checkout Shipping Method classes
2013-12-30 02:34:58 -08:00
Mike Jolley 58e952d85f Merge pull request #4430 from claudiosmweb/fix_top_rated_products_shortcode
Fix top rated products shortcode
2013-12-30 02:29:19 -08:00
claudiosmweb cf756af1d5 fixed some coding standards 2013-12-29 11:54:55 -02:00
claudiosmweb 248e46c8f7 Fixed the indentation in the includes/class-wc-shortcodes.php file 2013-12-29 11:41:48 -02:00
claudiosmweb 37aa0fb53b fixed the posts_clauses filters in top_rated_products method of the WC_Shortcodes class 2013-12-29 11:40:43 -02:00
toddlahman 6f76d1941c Registration error handler and my_account_message hook
To block registration spam, and authenticate the $_POST values, a
woocommerce_process_registration_errors filter hook is needed.

WordPress has a login_message filter, which causes a duplicate message
on the My Account login page since WC uses the same filter hook name. A
different filter hook name, such as my_account_message, would eliminate
this issue.
2013-12-29 05:11:54 -08:00
justinstern e131804d7a Notice fix and Checkout Shipping Method classes
Fixes an admin notice.  Adds a single class to the checkout shipping
method elements for convenience in collecting all of them via CSS
selector
2013-12-29 04:31:44 -05:00
Shohei Tanaka 52e1cd5796 misspelling in class-wc-admin-welcome.php
Common misspelling of receive.
2013-12-29 05:19:20 +09:00
Illimar Tambek 9b43089562 Only continue getting checkout value if null 2013-12-27 15:39:21 +02:00
Mike Jolley 68d2ac5dfe restore field back to original #4383 2013-12-27 13:27:22 +00:00
Mike Jolley 539a736882 woocommerce_wp_radio styling Closes #4383 2013-12-27 13:26:37 +00:00
Mike Jolley 9a6cf4512c Merge pull request #4418 from ChuckMac/master
Admin metabox billing information save fix
2013-12-27 04:28:09 -08:00
Mike Jolley c916b51ef7 Country select for edit address Closes #4396 2013-12-27 12:20:51 +00:00
Chuck Mac d852e14bea Admin metabox billing information save fix 2013-12-26 14:56:19 -05:00
Mike Jolley 0c9962cf93 Get correct name Fixes #4385 2013-12-24 14:28:25 +00:00
Mike Jolley cc7325e869 Ensure there is a join Fixes #4390 2013-12-24 13:31:37 +00:00
Mike Jolley 33f07a05a8 Pass order ID to woocommerce_payment_successful_result Fixes #4378 2013-12-23 15:47:56 +00:00
Mike Jolley 9c7a7d2c3d CSS min fixes #4336 2013-12-23 14:30:39 +00:00
Mike Jolley d3d72a8a49 Merge pull request #4372 from thenbrent/single_serve_fee
Only allow a fee to be added once
2013-12-23 05:33:37 -08:00
Mike Jolley 247f0ac064 Merge pull request #4344 from claudiosmweb/improved-reviews-admin
Improvements in editing the reviews rating
2013-12-23 05:32:54 -08:00
Mike Jolley d9637c4b80 Merge pull request #4305 from helgatheviking/feature/min_max_args
add $min_or_max and $display params to variation pricing functions
2013-12-23 05:31:53 -08:00
Mike Jolley e51da54240 Merge pull request #4330 from kloon/tweak_file_title_download_permissions
Tweak file title download permissions
2013-12-23 05:30:54 -08:00
Mike Jolley e3b5df7ce2 Merge pull request #4388 from niravmehta/master
Expiry date calculation based on order completion date
2013-12-23 05:22:25 -08:00
Mike Jolley 17f79f651d Merge pull request #4386 from justinstern/master
Downloadable File Fixes/Tweaks
2013-12-23 05:20:36 -08:00
Mike Jolley cc8bd649ec Merge pull request #4401 from toddlahman/master
Revert back to ob_end_clean to fix errors
2013-12-23 05:13:17 -08:00
Max Rice 7b4ff1ee82 Fix HTTP_X_FORWARDED_HOST notice 2013-12-20 14:03:55 -05:00
toddlahman 32af9d4440 Revert back to ob_end_clean to fix errors
ob_clean does not turn off output buffering as ob_end_clean does. On
some hosts ob_clean results in an error like: transfer closed with 3
bytes remaining to read. ob_end_clean fixes this.
2013-12-19 01:14:39 -08:00
Ratnakar 0faf26cbd2 Expiry date calculation based on order completion date 2013-12-17 10:37:19 +05:30
Justin Stern ae91c698f2 Downloadable File Fixes/Tweaks
* Hooked up new downloadable product permissions function to
completed/processing actions
* WC_Product::get_files() is used rather than the underlying
_downloadable_files meta directly
* $this is passed to downloadable product filters in WC_Product in place
of $this->id which doesn't does not afford you the particular variation
when a product variation is being used.
2013-12-16 18:27:57 -05:00
Mike Jolley 3bd2d0d456 Credit card form actions - start and end 2013-12-14 12:03:32 +00:00
thenbrent 8ad3326016 Only allow a fee to be added once 2013-12-13 13:10:25 -08:00
James Koster dbf1b15001 replace a few missed →'s. closes #4350 2013-12-12 13:42:29 +00:00
Coen Jacobs b5a4a9e602 Removed duplicate description key. Closes #4357 2013-12-12 14:36:13 +01:00
Coen Jacobs 7fede7e6e5 Merge pull request #4334 from splashingpixels/master
syntax error missing semicolon on product grouped class
2013-12-12 01:44:31 -08:00
Coen Jacobs e9ed514d8e Merge pull request #4329 from kloon/tweak_rest_api_add_wc_version
Add WooCommerce version to API index route
2013-12-12 01:32:55 -08:00
Coen Jacobs 7a254a3586 Merge pull request #4331 from kloon/fix_cod_thankyou_warning
Fix warning on Thank You page with COD, closes #4320
2013-12-12 01:31:34 -08:00
Coen Jacobs 6a194f02e2 Merge pull request #4340 from maxrice/rest-api-warning-fixes
Fix warning when accessing coupons created in pre-2.1 installs
2013-12-12 01:30:00 -08:00
Coen Jacobs 00e7174149 Merge pull request #4342 from claudiosmweb/fix_4337
fix #4337
2013-12-12 01:29:36 -08:00
Coen Jacobs 2ddb0491c2 Merge pull request #4343 from claudiosmweb/patch-1
Fix #4338 and #4339
2013-12-12 01:27:18 -08:00
Lee Willis bf5095d67d MP6 is dead. Long live the WP admin theme 2013-12-12 07:21:28 +00:00
claudiosmweb 8344bbc2b4 removed "Trying to get property of non-object..." error on the edit review/comment page. 2013-12-10 23:48:03 -02:00
claudiosmweb 963b16d9c4 fixed standards 2013-12-10 23:43:12 -02:00
claudiosmweb 3a3a0c10ec fixed reviews metabox visibility 2013-12-10 23:42:31 -02:00
claudiosmweb f7f3c79fa0 fixed braces standards 2013-12-10 23:17:44 -02:00
claudiosmweb e07e89b0de removed not useful global variables 2013-12-10 23:17:22 -02:00
claudiosmweb ec9091b444 fixes #4339 2013-12-10 22:41:27 -02:00
claudiosmweb 86b01ca004 fixes #4338 2013-12-10 22:40:41 -02:00
claudiosmweb d0d5e56022 fixed space standards 2013-12-10 22:39:51 -02:00
claudiosmweb 04534fe82b fixed braces standards 2013-12-10 22:36:56 -02:00
claudiosmweb 48aa2af8ef fix #4337 2013-12-10 22:31:03 -02:00
Max Rice 2b0a75cbd6 Fix warning when accessing coupons created in pre-2.1 installs 2013-12-10 17:31:41 -05:00
splashingpixels 8a6848bdd3 syntax error missing semicolon on product grouped class 2013-12-10 09:38:36 -08:00
Gerhard 0f47ed8df9 Fix warning on Thank You page with COD, closes #4320 2013-12-10 13:06:22 +02:00
Gerhard 4fa98e0610 Change filecount variable 2013-12-10 12:50:48 +02:00
Gerhard 9b27b485b6 Show file title instead of count if set 2013-12-10 12:49:27 +02:00
Gerhard a5acde8bbd Add WooCommerce version to API index route 2013-12-10 12:24:53 +02:00
Coen Jacobs dbeeac710d Merge pull request #4304 from shoheitanaka/patch-2
Update class-wc-admin-assets.php because spell mistake
2013-12-09 06:35:46 -08:00
Coen Jacobs b16d3e3170 Merge pull request #4321 from kloon/fix_cat_walker_strict_warnings
Fix strict warnings for cat walker class, closes #4319
2013-12-09 06:34:31 -08:00
Coen Jacobs 962269cdbd Merge pull request #4318 from maxrice/rest-api-tweaks
REST API Tweaks
2013-12-09 06:34:04 -08:00
Coen Jacobs 31b18d24e8 Merge pull request #4317 from NikV/master
Some braces for the new WordPress standard
2013-12-09 06:21:26 -08:00
Coen Jacobs 64c68b8c38 Merge pull request #4301 from kloon/fix_rest_api_oauth_subfolder_install
Fix issue where oAuth signature is wrong when running site from a subfolder
2013-12-09 02:27:18 -08:00
James Koster c22ebcc7ae twentyfourteen compat. closes #4272 2013-12-09 09:55:11 +00:00
Gerhard 7db46f581f Fix strict warnings for cat walker class, closes #4319 2013-12-09 10:07:24 +02:00
Max Rice 8389ff23e5 Fix duplicate "Link:" content with pagination link headers 2013-12-08 17:38:27 -05:00
Max Rice 1a9933cd88 Fix authentication error message typos 2013-12-08 17:37:55 -05:00
Max Rice 898adbb32d Change money_format to currency_format for API index 2013-12-08 17:37:30 -05:00
Nik-v a005e3e71f Some braces for the new WordPress standard
Simple braces being added
2013-12-08 16:08:46 -06:00
Kathy Darling 6544d6b8f9 add $min_or_max and $display params to variation pricing functions 2013-12-07 10:11:23 +01:00
Shohei Tanaka 93944c56e1 Update class-wc-admin-assets.php because spell mistake
I found spell mistake.
#109 monitary to #109 monetary
2013-12-07 18:10:36 +09:00
Gerhard 8e2bc1cebc remove harded api reference, use WooCommerce_api_url instead 2013-12-06 16:57:44 +02:00
Gerhard 5b27f37c23 Fix issue where oAuth signature is wrong when running site from a subfolder #4055 2013-12-06 15:07:42 +02:00
Mike Jolley 27d40dd46f Fix term reordering Closes #4294 2013-12-05 16:07:44 +00:00
Mike Jolley 5239bf7b46 get_form_fields method Closes #4275
@coenjacobs please review. I believe its cleaner this way.
2013-12-05 15:57:01 +00:00
Mike Jolley 8910042a99 Don't load some classes during ajax events Closes #4282 2013-12-05 15:34:37 +00:00
Mike Jolley f3fe51e3a3 Merge pull request #4293 from pauloiankoski/patch-1
Add "rand" option to orderby
2013-12-05 06:42:45 -08:00
Mike Jolley 27d2c87583 Tidyup 2013-12-05 13:16:52 +00:00
Mike Jolley 153c367ef4 Missing icons #4287 2013-12-05 13:16:52 +00:00
pauloiankoski 09d50a04c8 Add "rand" option to orderby 2013-12-05 10:53:22 -02:00
Coen Jacobs 1f5f163916 Added option to hide Returning customer message. Closes #4220 2013-12-05 10:43:46 +01:00
Coen Jacobs b8409ba7b0 Merge pull request #4291 from BFTrick/flat-rate-shipping-message
Adding Default Shipping Price to Tooltips
2013-12-05 00:37:26 -08:00
Coen Jacobs bcf025694e Updated docblocks for #4292 2013-12-05 09:36:46 +01:00
Brent Shepherd f7df434399 Remove $from param on get_price_html_from_text()
As it's not used at all.
2013-12-04 17:46:12 -08:00
Patrick Rauland 01c1afae59 Adding default shipping price to tooltips 2013-12-04 16:20:30 -06:00
Mike Jolley 00ff09e3a2 sort sale price 2013-12-04 12:45:23 +00:00
Mike Jolley 4826a574a0 wp_redirects 2013-12-04 12:20:18 +00:00
Mike Jolley 9e5c0fbf67 Get rid of "FROM" - display a price range, localisable. Closes #4222 2013-12-04 12:08:14 +00:00
Mike Jolley 4ce57489a7 Esnure cron is scheduled for midnight Closes #4267 2013-12-03 15:50:00 +00:00
Mike Jolley 553b273fc6 Merge pull request #4214 from toddlahman/master
escape download handler URLs
2013-12-03 07:32:47 -08:00
Mike Jolley 1ec8b82f69 Prevent error if variation doesn't exist. 2013-12-03 14:54:13 +00:00
Coen Jacobs a8444eb567 Fixed faulty double return 2013-12-03 15:11:01 +01:00
Mike Jolley 53b56250f4 Clean up cancel_order and filter cancelable order status Closes #4257 2013-12-03 14:07:15 +00:00
Coen Jacobs 61a783886d Suggested code changes in #4266 2013-12-03 15:03:25 +01:00
Gregory K f937c36250 Inconsistent return types: TODOs 2013-12-03 14:53:49 +01:00
Mike Jolley 273ae46758 Move sample tax rates Closes #4264 2013-12-03 13:45:10 +00:00