Fixed parse error #6998

This commit is contained in:
boohoogal 2014-12-22 23:40:27 +00:00
parent 55258fc426
commit d3cdc5d795
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class WC_Post_types {
if ( 1 === $tax->attribute_public ) {
$taxonomy_data['rewrite'] = array(
'slug' => empty( $permalinks['attribute_base'] ? '' : trailingslashit( $permalinks['attribute_base'] ) ) . sanitize_title( $tax->attribute_name ),
'slug' => empty( $permalinks['attribute_base'] ) ? '' : trailingslashit( $permalinks['attribute_base'] ) . sanitize_title( $tax->attribute_name ),
'with_front' => false,
'hierarchical' => true
);