attribute_public option.
This commit is contained in:
parent
f17a84c9a2
commit
77716b1c1f
|
@ -165,7 +165,7 @@ class WC_Post_types {
|
|||
if ( $attribute_taxonomies = wc_get_attribute_taxonomies() ) {
|
||||
foreach ( $attribute_taxonomies as $tax ) {
|
||||
if ( $name = wc_attribute_taxonomy_name( $tax->attribute_name ) ) {
|
||||
$tax->attribute_public = isset( $tax->attribute_public ) ? $tax->attribute_public : 1;
|
||||
$tax->attribute_public = absint( isset( $tax->attribute_public ) ? $tax->attribute_public : 1 );
|
||||
$label = ! empty( $tax->attribute_label ) ? $tax->attribute_label : $tax->attribute_name;
|
||||
$wc_product_attributes[ $name ] = $tax;
|
||||
$taxonomy_data = array(
|
||||
|
|
|
@ -145,6 +145,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
* Fix - When updating shipping in cart, keep shipping calculator in DOM.
|
||||
* Fix - WC_TEMPLATE_DEBUG_MODE in admin.
|
||||
* Fix - Average product rating when ratings are not required.
|
||||
* Fix - attribute_public option.
|
||||
|
||||
= 2.3.1 - 11/02/2015 =
|
||||
* Fix - When the geolocation database cannot download, ensure the correct method is used to log the error.
|
||||
|
|
Loading…
Reference in New Issue