Commit Graph

208 Commits

Author SHA1 Message Date
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
Mike Jolley d37eefff6d removed easter egg 2013-01-15 11:49:40 +00:00
Mike Jolley 24ae660405 fix session expirey and clear old expired sessions 2013-01-15 11:37:20 +00:00
Mike Jolley 815990f329 Fix category order + nesting Closes #2226. 2013-01-14 11:56:54 +00:00
Ken Bass 449a5fa9ec Add isset check for sizes 2013-01-11 10:01:48 -05:00
Geert De Deckere 86abb2a7c8 Spelling fix for "visibilty" 2013-01-04 16:30:31 +01:00
Mike Jolley 6821abc549 Store counts in a transient. Closes #2100. 2013-01-02 12:12:44 +00:00