Commit Graph

71 Commits

Author SHA1 Message Date
Mike Jolley d664b8df58 Merge pull request #3121 from sybarite/master
Pull request to fix issue #3120
2013-05-09 09:11:00 -07:00
Coen Jacobs 36767d8f22 Merge pull request #3131 from kloon/master
Fix 0 sale price not returning true in is_on_sale
2013-05-08 04:50:07 -07:00
Mike Jolley 59db08d70b Better backwards compatibility with _woocommerce_exclude_image
@coenjacobs
2013-05-08 12:29:21 +01:00
Gerhard 97ad6e0cda Fix for 0 sale price not returning true in is_on_sale 2013-05-08 12:59:48 +02:00
Vivek Gounder 00ece2649e Updated the return doc block with a brief explanation of the return type. 2013-05-07 16:36:11 +05:30
Vivek Gounder b4b94e0535 Updated the correct doc block for return type 2013-05-07 15:17:34 +05:30
Gerhard 38d892b14e esc_js translatable strings to avoid js breaking on quote chars 2013-05-06 15:17:04 +02: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 77aa394093 Prevent empty meta queries by filtering. Closes #2978. 2013-04-17 16:29:43 +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 85f357b375 Fix email subjects Closes #2944 2013-04-12 09:33:00 +01:00
Mike Jolley fa91ef80d4 Cache helper sets DONOTCACHEPAGE during init, rather than in each shortcode, and the W3 Issue with database cached appeared to be because the add_option had autoload 'no'. Removing autoload no was the only workaround I could find.
Now works with all caching enabled in W3 Total cache. Closes #2862.

cc @coenjacobs
2013-04-05 22:24:56 +01:00
Mike Jolley 425002cb5c Typo 2013-04-04 17:22:06 +01:00
Mike Jolley 46139143e2 Revert "Don't need to do this for all options. #2866."
This reverts commit 07917223fd.
2013-04-04 17:21:03 +01:00
Mike Jolley 07917223fd Don't need to do this for all options. #2866. 2013-04-04 17:19:31 +01:00
Reinoud van Santen b90bd6a1e0 Issue #2865 Localize email settings
Change the behaviour of the get_option function so that it attempts to
localize the value for setting that is returned by the parent's
get_option by using gettext.
2013-04-03 19:36:48 +02:00
Mike Jolley 6079c8f0e3 Settings API empty value only used if set. In turn fixes blank values in flat rate shipping. 2013-03-28 15:27:14 +00:00
Mike Jolley 042af6051f Recent reviews show actual review stars, and allowed get_rating_html() to be passed a rating. Also removed unused $location var. Closes #2838. 2013-03-28 13:58:01 +00:00
Brent Shepherd 854a9eccad Update phpdoc 2013-03-27 18:06:59 +10:00
Brent Shepherd 022d0a6480 Add WC_Product::get_formatted_name()
For #2788
2013-03-27 18:00:28 +10:00
Max Rice 3ce99ba71e Fix WC_Product::set_stock_status() to correctly set status 2013-03-23 14:36:23 -04:00
Mike Jolley 75a874ea7a Decode Closes #2728. 2013-03-18 13:37:07 +00:00
Mike Jolley 9f82986109 Possible star rating fix 2013-03-15 10:10:00 +00:00
Mike Jolley dc6878cc2f Flat rate UI tweaks 2013-03-13 15:43:49 +00:00
Coen Jacobs c119f98734 Fixed adjust price function, thanks @lucasstark for reporting 2013-03-13 16:09:04 +01:00
Mike Jolley 5393fc7ddb Santize custom attributes. #2587 2013-03-07 19:34:29 +00:00
Pascal Borreli ae7899c67b Fixed typos 2013-03-03 17:07:31 +00:00
Mike Jolley b8a92318e0 filter is_enabled boolean Closes #2535. 2013-02-27 10:10:40 +00:00
Neil Pie b6cc12b5e6 Update classes/abstracts/abstract-wc-email.php
whitespace
2013-02-21 09:31:45 +00:00
Neil Pie 633f353245 conditional for WC_Email template base in abstract constructor 2013-02-21 09:23:32 +00:00
Neil Pie 9b984bac5f sloppy whitespace 2013-02-21 00:59:21 +00:00
Neil Pie 11835b1004 Brings correct template path format into line with WC generate file paths 2013-02-21 00:57:46 +00:00
Neil Pie 11782d4f2b Fixes issue with displaying email template path in admin 2013-02-21 00:39:38 +00:00
Mike Jolley f5f01c497e Changes for API Docs 2013-02-20 17:14:51 +00:00
Mike Jolley 0efa9d1792 #2430 get_called_class with product type fallback for 5.2 2013-02-12 12:15:49 +00:00
Mike Jolley 6a24222dfb Settings should be an array 2013-02-11 15:07:51 +00:00
Mike Jolley b67492fe68 Hide thumbnails when empty. Closes #2409. 2013-02-11 14:17:57 +00:00
Mike Jolley 7a84ddd6c1 Tidied up settings, removed some un-needed settings, and made some settings automatic e.g. coupons disabled if no coupons exist 2013-02-10 23:02:52 +00:00
Mike Jolley b214e052bc Comment Closes #2319. 2013-01-31 11:48:04 +00:00
Mike Jolley 4f0d7f55c6 Cleaned up session classes 2013-01-27 18:55:29 +00:00
Mike Jolley b19985060c Only save session if needed @coenjacobs 2013-01-23 12:27:19 +00:00
Mike Jolley 2a462edc33 Support desc_tip in settings api Closes #2251. 2013-01-18 12:10:25 +00: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 192a8c5421 star ratings without images. 2013-01-14 10:51:06 +00:00
Mike Jolley 261f413405 Ratings in loops for sort by rating 2013-01-12 10:53:24 +00:00
Mike Jolley 8d8b3e3d30 get_post_data from 1.6 2013-01-11 18:30:09 +00:00
Mike Jolley a7ca2c8717 Fix email settings and put back notification recipient. Closes #2184. 2013-01-10 15:17:37 +00:00
Mike Jolley 96721f00d2 kses 2013-01-05 15:21:19 +00:00
Mike Jolley 8c821a86ab Stop infinite loop bug #1765 2013-01-02 13:38:33 +00:00