Commit Graph

1158 Commits

Author SHA1 Message Date
claudiosmweb 2900d9d330 Removed wp_verify_nonce in wc_create_new_customer
The check is already done in includes/class-wc-form-handler.php 843 and includes/class-wc-checkout.php 398

On the registration made during checkout caused the error:
PHP Notice:  Undefined index: register in woocommerce/includes/wc-customer-functions.php on line 53
2014-02-11 17:42:22 -02:00
Gregory K 6626400361 wc_create_new_customer phpdoc fix 2014-02-11 11:39:22 -05:00
Coen Jacobs ac80b0d880 Patched up docblock after faulty merge. Closes #4721 2014-02-11 17:30:43 +01:00
Coen Jacobs a2f396d4ac Patched up docblock after faulty merge. Closes #4721 2014-02-11 17:30:25 +01:00
Gregory K fcd97eff07 Only string param in taxonomy_is_product_attribute
Conflicts:
	includes/wc-conditional-functions.php
2014-02-11 17:27:06 +01:00
Gregory K 4445a3370e Only string param in taxonomy_is_product_attribute
Conflicts:
	includes/wc-conditional-functions.php
2014-02-11 17:26:47 +01:00
Mike Jolley a4473f6679 Set $time Closes #4718 2014-02-11 17:06:11 +01:00
Mike Jolley 0bffeca947 Set $time Closes #4718 2014-02-11 16:03:02 +00:00
Mike Jolley 3ea7fbdefc Hide empty categories in the product_categories shortcode Closes #4689 2014-02-11 16:56:59 +01:00
Mike Jolley 00fc089abe Hide empty categories in the product_categories shortcode Closes #4689 2014-02-11 15:55:46 +00:00
Mike Jolley 670048c600 Need to actually check $outdated. Derp. @coenjacobs 2014-02-11 16:26:22 +01:00
Mike Jolley 26d0e711cd Need to actually check $outdated. Derp. @coenjacobs 2014-02-11 15:13:51 +00:00
Mike Jolley 018e719468 file_exists check for wc_get_template 2014-02-11 15:49:41 +01:00
Gregory K a7b3972ab9 sort_callback_params() phpdoc fix 2014-02-11 15:49:41 +01:00
Coen Jacobs cff6dd5341 Merge pull request #4719 from tivnet/upstream-master
sort_callback_params() phpdoc fix
2014-02-11 15:49:09 +01:00
Mike Jolley 1bb072ab20 file_exists check for wc_get_template 2014-02-11 14:48:32 +00:00
Gregory K d401432428 sort_callback_params() phpdoc fix 2014-02-11 09:22:43 -05:00
Gregory K cce00e8d6c wc-cart-functions : removed unused $woocommerce and fixed phpdocs 2014-02-11 15:05:28 +01:00
Gregory K 9521f44cb2 wc-cart-functions : removed unused $woocommerce and fixed phpdocs 2014-02-11 09:01:58 -05:00
Mike Jolley 4f3a9baa71 Clean up wc_price Closes #4714 2014-02-11 14:49:43 +01:00
Mike Jolley 8d118c8693 Function comment #4714 2014-02-11 14:49:43 +01:00
Mike Jolley 9771bf1b66 Clean up wc_price Closes #4714 2014-02-11 13:47:54 +00:00
Mike Jolley 39f5b8aec0 Function comment #4714 2014-02-11 13:47:46 +00:00
Mike Jolley 8362bfe1b7 New notice aimed at identifying out of date template files in a theme. Also improves the status page.
@coenjacobs
2014-02-11 14:41:11 +01:00
Mike Jolley aff704ae6e New notice aimed at identifying out of date template files in a theme. Also improves the status page.
@coenjacobs
2014-02-11 13:33:56 +00:00
Mike Jolley 9670725bf2 Removed change password template and shortcode class - no longer used.
Change password is built into the edit-account endpoint. @coenjacobs
@hlashbrooke
2014-02-11 11:38:07 +01:00
Mike Jolley 29ef76c17c Removed change password template and shortcode class - no longer used.
Change password is built into the edit-account endpoint. @coenjacobs
@hlashbrooke
2014-02-11 10:36:22 +00:00
Mike Jolley 5e02b72f1b Sections can be lowered using sanitize_title Closes #4700
@coenjacobs pick me
2014-02-11 11:35:38 +01:00
Mike Jolley b0755f695f Sections can be lowered using sanitize_title Closes #4700
@coenjacobs pick me
2014-02-11 10:30:37 +00:00
James Koster 053915e58f allow line breaks in customer addresses on order details page. closes #4709 2014-02-11 10:59:05 +01:00
James Koster b85a881cc5 allow line breaks in customer addresses on order details page. closes #4709 2014-02-11 09:56:47 +00:00
vlinicx eaa0275515 Adding a currency to woocommerce
I would like to add a currency for my Country.It's on a line 173.
2014-02-11 10:51:04 +01:00
Coen Jacobs 5dfd58be5a Merge pull request #4687 from vlinicx/patch-1
Adding Croatian Kuna currency
2014-02-11 10:50:26 +01:00
Mike Jolley ae295fbfce During install, register all post types and endpoints so that the rewrite rules are correctly generated. #4699 #4701 2014-02-11 09:47:02 +01:00
Mike Jolley 2371ba7813 During install, register all post types and endpoints so that the rewrite rules are correctly generated. #4699 #4701 2014-02-11 00:29:29 +00:00
Coen Jacobs 9ae5cc5d8f get_subtotal_to_display docblock update. Closes #4693 2014-02-10 13:38:25 +01:00
Coen Jacobs 61a7fa93ef Remove unused global. Closes #4694 2014-02-10 13:36:34 +01:00
Mike Jolley e9e121b82b Merge pull request #4671 from claudiosmweb/fix_myaccount_register
Fix undefined index notice in "My Account" register
2014-02-10 09:48:42 +00:00
Coen Jacobs 0033d6d116 Code standards update for #4675 2014-02-10 10:47:26 +01:00
Coen Jacobs e934f293e9 Merge pull request #4675 from shoheitanaka/patch-1
$tax_code was url encoded , so decode it.
2014-02-10 10:45:41 +01:00
Coen Jacobs 8b8cc20dab Merge pull request #4681 from thenbrent/master
Fix completing order payment for an order containing a deleted product
2014-02-10 10:30:01 +01:00
Mike Jolley 3eaef1d0f3 Merge pull request #4662 from Spreeuw/master
fixes date display on customer list page
2014-02-10 09:28:08 +00:00
Mike Jolley 9978f8fd6a Merge pull request #4670 from claudiosmweb/patch-rc2
Improvements for some DocBlocks
2014-02-10 09:27:46 +00:00
Coen Jacobs 6da86e4e57 Merge pull request #4676 from kloon/master
Load Chosen on My Account page for country and state address edit
2014-02-09 22:34:32 +01:00
vlinicx 77e7f1f6e6 Adding a currency to woocommerce
I would like to add a currency for my Country.It's on a line 173.
2014-02-09 20:31:03 +01:00
claudiosmweb f5cf994a8c improved the deprecated woocommerce_placeholder_img function, closes #4684 2014-02-09 03:09:31 -02:00
thenbrent 3187bfc32c Fix completing order payment for deleted product
When marking payment as complete on an order which contains a product which has
since been deleted, a fatal error will be thrown because the product is assumed
to exist.

The specific error is `PHP Fatal error: Call to a member function is_downloadable()`.
It occurs when checking if the order status should be set as completed or processing,
by determining if the product on the order is downloadable and virtual.

This patch will mark an order as "processing" if the product has since been deleted.
2014-02-08 11:37:21 -08:00
Gerhard 667f46cf9e Load Chosen on My Account page for country and state address edits, closes #4674 2014-02-08 10:58:50 +02:00
Shohei Tanaka f03dde7868 $tax_code was url encoded , so decode it.
I can't read tax code at this box, if used Japanese in tax code. I want to read it in Japanese, so decode here.
2014-02-08 15:50:03 +09:00
claudiosmweb d3f09d45b0 fixed some coding standards in includes/class-wc-form-handler.php 2014-02-07 16:35:30 -02:00
claudiosmweb e0b729d273 fixed the indentation in includes/class-wc-form-handler.php 2014-02-07 16:27:07 -02:00
claudiosmweb 0f5faa4a77 fixed undefined username variable in myaccount register using registration generate username as true 2014-02-07 16:26:51 -02:00
claudiosmweb 18ca7c4d2f fixed the indentation in includes/wc-conditional-functions.php 2014-02-07 15:57:17 -02:00
claudiosmweb a9f1d47a11 fixed docblock for meta_is_product_attribute() function, closes #4668 2014-02-07 15:56:58 -02:00
claudiosmweb 7dd98549d9 updated the WC_Order version to 2.1.0 2014-02-07 15:55:30 -02:00
claudiosmweb 93b5678617 fixed some coding standards in includes/class-wc-order.php 2014-02-07 15:55:07 -02:00
claudiosmweb 1c13e994de fixed the indentation in includes/class-wc-order.php 2014-02-07 15:41:28 -02:00
claudiosmweb 0d9752c04b fixed docblock for WC_Order::get_formatted_line_subtotal, closes #4667 2014-02-07 15:41:09 -02:00
claudiosmweb bcf88933c6 fixed docblock for WC_API_Customers::query_customers, closes #4666 2014-02-07 15:39:40 -02:00
claudiosmweb bfe3020897 removed unused global vars in WC_Report_Coupon_Usage::output_report, closes #4665 2014-02-07 15:37:31 -02:00
claudiosmweb 617b6b07ae fixed some coding standards in includes/abstracts/abstract-wc-product.php 2014-02-07 15:35:45 -02:00
claudiosmweb 6758bab16a fixed the indentation in includes/abstracts/abstract-wc-product.php file 2014-02-07 15:31:25 -02:00
claudiosmweb 35b5614972 fixed docblock for WC_Product::get_children(), closes #4664 2014-02-07 15:31:00 -02:00
Ewout Fernhout fe8335bbaf fixes date display on customer list page 2014-02-07 15:50:11 +01:00
Mike Jolley 1ea1bb1a09 Translation credits 2014-02-07 13:06:20 +00:00
Mike Jolley dc80dfdd3b Inline note for #4655 2014-02-07 11:43:34 +00:00
Mike Jolley 4790e16812 Leaner code for getting terms 2014-02-07 11:39:37 +00:00
Mike Jolley 65cfc420a1 Code standards, and check orderby, not fields 2014-02-07 11:38:57 +00:00
Mike Jolley 4383a7b0a1 Merge pull request #4658 from Spreeuw/master
include product_id for extended customization of wc_add_to_cart_message
2014-02-07 10:11:29 +00:00
Mike Jolley 545441b2e3 Multiple attribute for email box Closes #4659 2014-02-07 10:10:50 +00:00
Ewout Fernhout df773f520e include product_id for extended customization of wc_add_to_cart_message 2014-02-06 20:24:34 +01:00
Mike Jolley 2dd73acb9d Context for checkout string Closes #4646 2014-02-06 15:46:18 +00:00
Mike Jolley a2b5086b24 Merge pull request #4648 from kloon/master
Improve credit card form to allow use of the woocommerce_credit_card_form_fields filter
2014-02-06 15:43:07 +00:00
Coen Jacobs 5d70dae52f Introducing post taxonomy init hook 2014-02-06 14:32:25 +01:00
Gerhard 435257bc95 Improve credit card form to allow use of the woocommerce_credit_card_form_fields filter 2014-02-06 15:00:00 +02:00
Mike Jolley 65ca1753ae woocommerce_products_will_display improvements #4644
- Reduced number of conditionals required.
- Broken the massive category query into a loop which can break before
checking all cats
- Used a transient to further optimise the category check
2014-02-06 09:21:47 +00:00
Mike Jolley 8d52b8d243 No class exist check needed for files included once #4616 2014-02-05 15:02:30 +00:00
Mike Jolley 2448a19545 Don't return class, just construct it. Use static methods #4616 2014-02-05 15:02:02 +00:00
Mike Jolley 9c56637def Include_once during install and call the static to load taxonomies early. #4616 2014-02-05 15:01:30 +00:00
Mike Jolley 875694e2eb Fix array sum and out of base subtotals 2014-02-05 11:45:26 +00:00
Coen Jacobs 60f04ee3b4 Merge pull request #4638 from woothemes/simple_fee_tax_calculation
Tax total for fees added to total fees
2014-02-05 12:32:25 +01:00
Coen Jacobs b5ad68ff2a Remove unused total fee tax variable 2014-02-05 12:31:23 +01:00
Coen Jacobs 3d7c2fc297 Tax fees should respect tax rates too 2014-02-05 12:30:47 +01:00
Coen Jacobs c9d39bcc8b Tax total for fees are already flattened 2014-02-05 12:03:56 +01:00
Mike Jolley 0c2b1f430c Don't check for post_type for product query, and don't force the post_type variable as it should already be set. #4626 2014-02-04 13:44:18 +00:00
Mike Jolley e453e6f17d After tax coupons * qty Closes #4625 2014-02-04 13:35:04 +00:00
Mike Jolley ad84eea2f7 Ensure coupons get totalled when prices exclude tax. Closes #4604 2014-02-03 15:29:44 +00:00
Mike Jolley e3cc5931ba Merge pull request #4614 from claudiosmweb/clp_currency
CLP currency
2014-02-03 03:50:57 -08:00
claudiosmweb 077f6d5d9c fixed the CLP name 2014-02-01 13:00:57 -02:00
claudiosmweb 91ec6e62a0 fixed some coding standards in includes/wc-core-functions.php 2014-02-01 12:58:56 -02:00
claudiosmweb 32b772272c added clp currency 2014-02-01 12:55:58 -02:00
Mikel Martin ffa74e4f65 [ADD] Colombian Peso 2014-01-31 19:16:56 +01:00
Mike Jolley 9222e6a854 woocommerce_coupon_options Hook breaks custom options - used in 2 places. May have been mistake 2014-01-31 14:48:23 +00:00
Mike Jolley eef21fa53a Merge pull request #4603 from thenbrent/master
Fix rounding bug with pre-tax product % coupon
2014-01-31 04:47:56 -08:00
Mike Jolley 0d0bdc340c Merge pull request #4601 from maxrice/master
Fix potential fatal error when fetching orders via API
2014-01-31 04:46:36 -08:00
thenbrent f2a0e4bcdd Remove dup discount calculation 2014-01-30 21:54:33 -08:00
toddlahman 13c24b410e Removed (document).ready from jQuery scripts
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.

http://api.jquery.com/ready/
2014-01-30 18:44:17 -08:00
thenbrent 390afe9f90 Fix rounding bug with pre-tax product % coupon 2014-01-30 12:50:58 -08:00
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