Commit Graph

214 Commits

Author SHA1 Message Date
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
Mike Jolley 29eb289c3b Tweak messages #2430 2013-02-12 11:49:26 +00:00
Geert De Deckere a81e915eeb API comments for v2.0 2013-02-08 16:36:34 +01:00
Mike Jolley 8b5c9465d4 Append codes from get_woocommerce_currency_symbol to option names instead of defining them in the strings. 2013-02-02 17:24:34 +00:00
Mike Jolley af108213a1 Rupiah Closes #2339. 2013-02-02 16:04:13 +00:00
Mike Jolley af599fdbc4 Fix for previous commit 2013-02-01 14:53:23 +00:00
Mike Jolley 569b31b973 get_woocommerce_price_format filter Closes #2322 2013-02-01 14:44:28 +00:00
Mike Jolley 91180d4c03 Fix sale query Closes #2308. 2013-01-29 12:36:55 +00:00
Gerhard 85aba3620b Change meta query type for on sale products to DECIMAL to match on 0.xx prices as NUMERIC only matches sale prices >= 1 2013-01-28 08:21:50 +02:00
Mike Jolley f680ec4256 spaces 2013-01-23 20:04:01 +00:00
Brent Shepherd eda7961bfa Pass more arguments to woocommerce_new_order_item 2013-01-23 16:23:54 +10:00
Brent Shepherd e7a0324b7c Fix item ID returned woocommerce_add_order_item()
If a plugin hooks to 'woocommerce_new_order_item' and run some sort of $wpdb insert
query or uses a function which runs an insert query, like woocommerce_add_order_item_meta(),
then the item ID returned by woocommerce_add_order_item() will actually be the ID of a
different DB entry (becasue woocommerce_add_order_item() returns $wpdb->insert_id). This
commit fixes that.
2013-01-23 16:20:44 +10:00
Mike Jolley ad1eb92b4c Clean up variation display in admin. Closes #2241. 2013-01-17 11:23:11 +00:00
Geert De Deckere e806d4c193 Created the `woocommerce_get_product_ids_on_sale()` function 2013-01-16 20:04:01 +01:00
Coen Jacobs a0b3120438 Session cleanup should be part of implementation 2013-01-16 10:53:08 +01:00
Mike Jolley 9da6eb690a Revised session handler based with some code from Eric Manns wp_session class idea.
The (long term) plan will be to use that when stable and in WP core.
Until then, our wc_session_ implementation will work.

This is similar to what we had, with the exeption of not using
transients to ensure the data persists.

@coenjacobs please view this.
2013-01-15 19:51:19 +00:00