Commit Graph

1109 Commits

Author SHA1 Message Date
Mike Jolley 189c7c9647 Fixes Irony 2014-02-13 09:25:24 +00:00
Mike Jolley 1cafd4f566 Fix to ensure stock status is updated, even when meta is blank. Prevents new products being hidden when the option to hide out of stock products is enabled. 2014-02-12 14:38:56 +00:00
Mike Jolley ca09b0a8bc When add_to_cart is called, ensure the correct product_id is set for variations. Closes #4650 2014-02-12 13:05:20 +00:00
Mike Jolley e713fc68b8 return a string for get_cart_url and get_remove_url Closes #4724 2014-02-12 12:33:02 +00:00
Mike Jolley 29b59cc74f Vars in report classes Closes #4720 2014-02-12 12:26:32 +00:00
Mike Jolley 767eba990d Return strings. Closes #4739 2014-02-12 12:21:36 +00:00
Mike Jolley d7493b0b8a is_wc_endpoint_url Closes #4731 2014-02-12 12:18:36 +00:00
Mike Jolley 60fbf90d7f Docblock Closes #4726 2014-02-12 11:56:41 +00:00
Mike Jolley 878fe196ba $packge is array Closes #4725 2014-02-12 11:54:43 +00:00
Mike Jolley facd746f88 Tweak to structure when getting terms ordered by parent Closes #4729 2014-02-12 11:48:00 +00:00
Mike Jolley fbda89f76c Merge pull request #4730 from claudiosmweb/fix_4672
Corrections for the wc_create_new_customer() function
2014-02-12 11:40:56 +00:00
Mike Jolley 5da7cc05ce Added tinymce buttons relevant to the short description 2014-02-12 09:49:13 +00:00
Mike Jolley fbfdc0ea95 Fix saving of checkboxes (off state) in widgets API 2014-02-12 09:29:47 +00:00
Mike Jolley 1f1a925fdd Add versions to all scripts + styles to ensure browser cache is cleared 2014-02-12 09:23:06 +00:00
claudiosmweb 2b3ce42284 fixed some coding standards in includes/wc-customer-functions.php 2014-02-11 17:57:15 -02:00
claudiosmweb fe74ffc882 fixed the indentation in includes/wc-customer-functions.php 2014-02-11 17:51:10 -02:00
claudiosmweb b68873a15b prevents automatic password generation when making the registration in the My Account page, closes #4672 2014-02-11 17:50:55 -02:00
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 a2f396d4ac Patched up docblock after faulty merge. Closes #4721 2014-02-11 17:30:25 +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 0bffeca947 Set $time Closes #4718 2014-02-11 16:03:02 +00:00
Mike Jolley 00fc089abe Hide empty categories in the product_categories shortcode Closes #4689 2014-02-11 15:55:46 +00:00
Mike Jolley 26d0e711cd Need to actually check $outdated. Derp. @coenjacobs 2014-02-11 15:13:51 +00: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 9521f44cb2 wc-cart-functions : removed unused $woocommerce and fixed phpdocs 2014-02-11 09:01:58 -05: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 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 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 b0755f695f Sections can be lowered using sanitize_title Closes #4700
@coenjacobs pick me
2014-02-11 10:30:37 +00:00
James Koster b85a881cc5 allow line breaks in customer addresses on order details page. closes #4709 2014-02-11 09:56:47 +00: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 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