Revert "loop ratings an option"

This reverts commit a23fde9491.
This commit is contained in:
James Koster 2013-01-12 15:55:44 +00:00
parent 813f8b8c2e
commit 0fdf9032ec
3 changed files with 2 additions and 11 deletions

View File

@ -662,15 +662,6 @@ $woocommerce_settings['catalog'] = apply_filters('woocommerce_catalog_settings',
'id' => 'woocommerce_review_rating_verification_label',
'default' => 'yes',
'type' => 'checkbox',
'checkboxgroup' => '',
'show_if_checked' => 'yes',
),
array(
'desc' => __( 'Display ratings in the product loop', 'woocommerce' ),
'id' => 'woocommerce_review_rating_loop',
'default' => 'no',
'type' => 'checkbox',
'checkboxgroup' => 'end',
'show_if_checked' => 'yes',
),

View File

@ -203,7 +203,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
* Templating - CSS namespacing changes (courtesy of Brian Feister).
* Templating - My account page broken up into template files (by Brian Richards)
* Templating - CSS classes standardised. Instances of '.woocommerce_' & '.wc-' replaced with '.woocommerce-'
* Templating - Option to display ratings in loop.
* Templating - Ratings added to loop.
* Tweak - Sorting uses GET to make it cache friendly
* Tweak - Optimised class loading (autoload). Reduced memory consumption.
* Tweak - Moved shortcodes and widgets to classes.

View File

@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $product;
if ( get_option( 'woocommerce_enable_review_rating' ) == 'no' || get_option( 'woocommerce_review_rating_loop' ) == 'no' )
if ( get_option( 'woocommerce_enable_review_rating' ) == 'no' )
return;
?>