Fix attribute base
This commit is contained in:
parent
3d3df8f70d
commit
84b451e214
|
@ -172,6 +172,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
* Fix - Codestyling bug with meta.php
|
||||
* Fix - Icon replacement in .woocommerce-info for Gecko
|
||||
* Fix - prettyPhoto next/prev links and thumbnail navigation no longer appear when there's only one attachment
|
||||
* Fix - Attribute base
|
||||
* Localization - Added indian rupees
|
||||
|
||||
= 2.0.3 - 11/03/2013 =
|
||||
|
|
|
@ -759,7 +759,7 @@ class Woocommerce {
|
|||
// Get bases
|
||||
$product_category_slug = empty( $permalinks['category_base'] ) ? _x( 'product-category', 'slug', 'woocommerce' ) : $permalinks['category_base'];
|
||||
$product_tag_slug = empty( $permalinks['tag_base'] ) ? _x( 'product-tag', 'slug', 'woocommerce' ) : $permalinks['tag_base'];
|
||||
$product_attribute_base = empty( $permalinks['attribute_base'] ) ? '' : $permalinks['attribute_base'];
|
||||
$product_attribute_base = empty( $permalinks['attribute_base'] ) ? '' : trailingslashit( $permalinks['attribute_base'] );
|
||||
$product_permalink = empty( $permalinks['product_base'] ) ? _x( 'product', 'slug', 'woocommerce' ) : $permalinks['product_base'];
|
||||
|
||||
if ( $product_permalink )
|
||||
|
|
Loading…
Reference in New Issue