Commit Graph

5295 Commits

Author SHA1 Message Date
Claudio Sanches a12552dbf1 [API] Removed $HTTP_RAW_POST_DATA in favor of php://input, closes #8848 2015-08-17 12:51:19 -03:00
Mike Jolley a5a7c71aa7 Keep new variation in sync so actions can modify data Closes #8858 2015-08-17 15:11:34 +01:00
Mike Jolley 9330176865 Flush product cache so prices are regenerated
Fixes #8851
2015-08-17 14:19:58 +01:00
Mike Jolley 1999dbe92d Improve display_item_downloads numbering and use same function in emails. 2015-08-17 12:17:56 +01:00
Mike Jolley ad691fe916 save_account_details should check display name of current user.
Fixes #8856
2015-08-17 12:02:16 +01:00
Mike Jolley 329c2c9c9b Merge pull request #8838 from StuartOB/master
Missing object attributes
2015-08-17 11:03:44 +01:00
Claudio Sanches a9a6009b66 Check if order is valid in checkout shortcode, closes #8829 2015-08-15 17:50:42 -03:00
stuartobrien 237acd7e90 consistent code formatting 2015-08-15 01:28:48 +02:00
stuartobrien 3ce5374cd9 fixed - missing attribute $password_generated used in the object but not declared 2015-08-15 01:16:02 +02:00
stuartobrien 6a8742d4d6 change type to boolean 2015-08-15 01:03:18 +02:00
stuartobrien 5a616d86c3 fixed - missing attributes refund and partial_refund are used in the object but are not declared 2015-08-15 00:57:12 +02:00
Claudio Sanches 13c34f6ba2 Fixed Allowed Zip description for Local Delivery, closes #8831 2015-08-14 15:28:34 -03:00
Claudio Sanches 1d0d48b1ad Fix attribute text based in API, closes #8823 2015-08-14 15:22:57 -03:00
Claudio Sanches 934808fc37 Created new wc_sanitize_term_text_based() for properly sanitize term text based before save, closes #8823 2015-08-14 15:22:16 -03:00
Claudio Sanches dc666f6b27 Added missing $menu_order on WC_Ajax::add_variation() 2015-08-14 14:40:46 -03:00
Lee Hopkins 9632077c7e Wrap product name in correct double quotes in wc_format_list_of_items() 2015-08-14 09:57:35 -07:00
Mike Jolley a0be65596f COD: remove shipping check if the cart is 100% virtual.
@claudiosmweb
2015-08-13 23:54:16 +01:00
Mike Jolley dc1798f942 woocommerce_variable_children_args hook. 2015-08-13 23:35:41 +01:00
Diego Zanella 5b29d23daf Added filter for Variable Products, as suggested in #8820
* The new filter allows to alter the query used to retrieve children of a variable product.
2015-08-13 22:42:16 +01:00
Mike Jolley 92043a19f2 Free shipping should not be on by default
Closes #8819
2015-08-13 22:02:44 +01:00
Claudio Sanches 893d0e40da Include attribute archives support in the breadcrumbs 2015-08-13 16:02:57 -03:00
Mike Jolley 63fe4a0c05 Correct docbloc Closes #8814 2015-08-13 18:05:55 +01:00
Mike Jolley d9f9da955d empty checking 2015-08-13 16:58:23 +01:00
Mike Jolley 827ff2ae85 Merge pull request #8813 from SiR-DanieL/deprecated-fix
Replacing deprecated functions
2015-08-13 16:56:32 +01:00
Mike Jolley 56b6c0ab9c Link to full image
Closes #8809
2015-08-13 16:55:32 +01:00
Nicola Mustone 51c4599b59 replacing deprecated functions 2015-08-13 17:49:25 +02:00
Mike Jolley 630c14124c Avoid firing woocommerce_order_fully_refunded twice 2015-08-13 16:35:52 +01:00
Mike Jolley a52619c344 Ajax variation handling when 'any' attribute is set. 2015-08-13 13:57:26 +01:00
Mike Jolley fb64e6e66e Use wp_unslash and only decode when getting attributes, not saving 2015-08-13 13:03:51 +01:00
Mike Jolley 7552704e75 double encode attributes 2015-08-13 12:16:08 +01:00
Mike Jolley a545a3aa02 wp_json_encode is 4.1 + 2015-08-13 12:07:12 +01:00
Mike Jolley 4908131b86 stripslashes_deep attributes 2015-08-13 12:07:05 +01:00
Mike Jolley 3a4653ba3b Run html_entity_decode over text attributes to fix problems with quote characters. 2015-08-13 12:06:52 +01:00
Mike Jolley 8f759c8af1 Order variations by menu_order by fallback to ID. 2015-08-13 10:40:50 +01:00
Mike Jolley d3e2217227 Allow errors with debug on
Closes #8805
2015-08-13 10:27:22 +01:00
Claudio Sanches 275849b5da [2.4] Fixe order by user and sorting by total, closes #8803 2015-08-13 00:33:56 -03:00
Claudio Sanches 6d79f7f02b Fixed default wc_lostpassword_url() args, closes #8800 2015-08-12 17:43:04 -03:00
Mike Jolley f8b539eb5e Improved refund email events and woocommerce_order_fully_refunded hook.
Closes #8793
2015-08-12 19:01:05 +01:00
Mike Jolley cbb89fa4b9 wc_get_product_variation_attributes should only get parent attributes which are for variations.
Closes #8796
2015-08-12 18:02:13 +01:00
Mike Jolley 817f8476ac Refund subjects when order contains downloadable product. 2015-08-12 17:50:57 +01:00
Mike Jolley 19e8cc4634 display_errors > error_reporting 2015-08-12 17:45:49 +01:00
Mike Jolley 7a58c5417c Only process downloads if valid order is found
Closes #8798
2015-08-12 17:21:07 +01:00
Mike Jolley 457283bc3c Ajax variations: stripslashes to fix attributes with quotes. 2015-08-12 17:08:21 +01:00
Mike Jolley 6a3f4ee969 Disable error_reporting during ajax requests to prevent malformed JSON. 2015-08-12 11:51:05 +01:00
Mike Jolley 2f79ab5e3a When merging shipping taxes with a shipping rate taxes, ensure shipping rate taxes is not malformed.
Closes #8790
2015-08-12 11:28:24 +01:00
Mike Jolley 0da69f2bef Query within wc_customer_bought_product(). 2015-08-12 10:44:44 +01:00
Mike Jolley f6f2d7f9df Ensure array is returned from wc_get_attribute_taxonomies 2015-08-11 17:10:34 +01:00
Mike Jolley 3bd52a78a5 Use wc_get_attribute_taxonomies instead of global 2015-08-11 17:10:34 +01:00
Claudio Sanches 23f6544ffc Stop jetpack markdown of add slashs in HTML, closes #8782 2015-08-11 12:06:59 -03:00
Mike Jolley 4dd19c3839 Stripslashes on text attributes
Fixes #8778 Closes #8771
2015-08-11 14:55:35 +01:00