Commit Graph

229 Commits

Author SHA1 Message Date
Mike Jolley cbd7dbee64 add filters to downloadable file permission function 2013-07-16 13:38:42 +01:00
jprieton 18f86a910d Update proposal hint on documentation of function get_product() 2013-07-01 17:15:42 -04:30
jprieton 6acf17caf5 Hint on documentation of function get_product()
The hint actual says that return void, changed to WC_Product_Simple because $woocommerce->product_factory->get_product() returns WC_Product_Simple, this change is useful for IDEs autocomplete hints
2013-06-28 11:43:36 -04:30
Mike Jolley f8f3f8a660 Fix sale expiration for variations. Closes #3321.
@coenjacobs might be useful for .13
2013-06-28 09:58:07 +01:00
Mike Jolley d3de355cf5 Is checkout pay page function 2013-06-17 12:21:24 +01:00
Mike Jolley 4397b00c4a classes -> includes (for includes) 2013-06-11 14:28:45 +01:00
Coen Jacobs a09ebc9cca Merge branch 'helpers-refactor' into core-class-refactor
Conflicts:
	classes/class-wc-shortcodes.php
	classes/shortcodes/class-wc-shortcode-change-password.php
	classes/shortcodes/class-wc-shortcode-view-order.php
	templates/myaccount/form-change-password.php
	templates/myaccount/form-login.php
	templates/order/order-details.php
	woocommerce-functions.php
2013-06-06 13:55:36 +02:00
Mike Jolley b50ddaa47f Keep counts synced 2013-06-05 16:32:50 +01:00
Mike Jolley b7d1b2d66e Link orders from admin (customers page) Closes #3248.
This function can also be hooked into registration if it needs to be
automated.
2013-06-05 16:04:09 +01:00
Coen Jacobs 74fcf1a1d4 Abstracted attribute helper to class #3282 2013-06-05 16:14:25 +02:00
Coen Jacobs 64c75547f3 Abstracted transient helper to class #3282 2013-06-05 13:39:27 +02:00
Mike Jolley a3c2cef3f7 Better account edit Closes #3168 2013-06-05 12:07:23 +01:00
Mike Jolley 0b9689f73a Get rid of un-useful options. 2013-06-05 11:13:36 +01:00
Mike Jolley 4aef7c73ee View order page endpoint 2013-06-04 17:33:43 +01:00
Mike Jolley cde4947acf Remember which attributes get registered and added taxonomy_is_product_attribute() function
Closes #3149.
2013-06-03 11:04:21 +01:00
Mike Jolley e4f4b09ba6 Pay page and thanks page endpoints. Requires permalink save. Closes #3170. 2013-05-31 16:13:18 +01:00
Mike Jolley da0896646b Move include to the function where used. Closes #3219 2013-05-22 12:53:18 +01:00
Coen Jacobs 9a946a2f6a Merge branch 'refs/heads/release-2-0-10'
Conflicts:
	admin/post-types/product.php
	classes/gateways/paypal/class-wc-gateway-paypal.php
	readme.txt
	woocommerce-core-functions.php
	woocommerce.php

Signed-off-by: Coen Jacobs <coenjacobs@gmail.com>
2013-05-15 12:50:52 +02:00
Coen Jacobs c000afbe86 Failsafe for when get_the_terms() returns false
As committed on master branch:
- 7d9d1ee2f0
2013-05-12 20:08:09 +02:00
Coen Jacobs 7d9d1ee2f0 Failsafe for when get_the_terms() returns false. Closes #3147
Thanks @arminrosu!
2013-05-12 20:06:29 +02:00
Coen Jacobs b2c6b9050f RUB currency symbol fixes
As done on master branch:
- 683d54f957
- 1671b1d713
2013-05-06 12:13:07 +02:00
Almaz Mannanov 1671b1d713 +* Localization - Added a point to the symbol of the Russian currency 2013-05-03 21:28:26 +06:00
Coen Jacobs 656c897448 Merge pull request #2828 from thenbrent/formatted_product_name
Encapsulate formatted product name
2013-05-02 08:26:41 -07:00
Mike Jolley 130a8074f9 ruble Closes #3072. 2013-05-02 12:10:23 +01:00
Mike Jolley 28696d1c35 woocommerce_before_delete_order_item Closes #3041 2013-04-29 15:35:12 +01:00
Mike Jolley 1b8a362a22 is_product_taxonomy 2013-04-29 14:46:42 +01:00
Steven Mathias 7c4943fad1 Patched the "woocommerce_downloadable_product_permissions" function to avoid fatal error if return value for get_product_from_item is false. 2013-04-24 12:19:44 -06:00
Mike Jolley 3b3d507a6d Clear ratings when changing status. Closes #3005. 2013-04-23 12:53:42 +01:00
Mike Jolley 14126a6188 Fallback for #2992
Closes #2992.
2013-04-23 12:29:40 +01:00
Mike Jolley 003dab8525 Better workaround for #2975 2013-04-16 15:39:07 +01:00
Mike Jolley c211603fc9 Fix saving options for attribute taxonomies containing special chars. Closes #2975. 2013-04-16 14:41:23 +01:00
Mike Jolley 47143bcffb moved woocommerce_get_filename_from_url to core-functions as it is required in admin too. Closes #2949 2013-04-15 12:09:20 +01:00
Mike Jolley 98f6dde734 Order by +0 not signed. Closes #2922. 2013-04-10 13:30:34 +01:00
Mike Jolley 9031c7603f Sanitize taxonomy names. Closes #2844. 2013-04-08 21:11:55 +01:00
Kathy Darling bb35a00620 pass $args to woocommerce_before_template_part action 2013-04-08 17:32:57 +02:00
Brent Shepherd 854a9eccad Update phpdoc 2013-03-27 18:06:59 +10:00
Brent Shepherd 9431f82a24 Deprecate woocommerce_get_formatted_product_name()
For #2788
2013-03-27 18:00:40 +10:00
Mike Jolley d14fb5fdc1 Cancel based on post_modified, so that checkout (when resuming an order) prevents them being cancelled. Closes #2814. 2013-03-26 12:41:45 +00:00
kexplo 8231ee664e Add South Korean Won ( KRW, ₩ ) currency 2013-03-26 17:13:21 +09:00
Mike Jolley 9c2a7afe8a Held duration must be > 0. Closes #2766. 2013-03-22 20:36:36 +00:00
Max Rice 2b78261b92 Add woocommerce_time_format() function 2013-03-21 21:47:42 -04:00
Mike Jolley 87fbb21ff2 Removed Sidebar Login Widget. Use http://wordpress.org/extend/plugins/sidebar-login/ instead. A potential security issue was found regarding logging of passwords (since GET was used instead of POST). Sidebar Login 2.5 resolves this and the widget has been removed from WC to prevent needing to maintain two (virtually identical) codebases. 2013-03-18 15:24:29 +00:00
Mike Jolley bd8a5dcff4 Include deprecated level terms for WP author panel. Closes #2709. 2013-03-18 13:58:02 +00:00
Mike Jolley 5698d831ea Fix quotes Closes #2707. 2013-03-18 13:04:50 +00:00
Mike Jolley 5be66693d4 Rupees 2013-03-12 08:40:32 +00:00
Mike Jolley afc6a55a45 Leave meta case alone 2013-03-10 13:39:00 +00:00
Mike Jolley 42fc9193ac woocommerce_cancel_unpaid_orders respects the manage stock setting. 2013-03-08 10:45:29 +00:00
Max Rice 97ae238ffb Add filter to control automatic cancel of unpaid order 2013-03-06 18:30:26 -05:00
Pascal Borreli ae7899c67b Fixed typos 2013-03-03 17:07:31 +00:00
Brent Shepherd 9cba9551e2 Fix woocommerce_cancel_unpaid_orders()
Cancel orders placed more than an hour in the past, not orders
placed between now & 1 hour in the future.
2013-02-14 15:20:46 +10:00