Changeset 356322
- Timestamp:
- 03/06/2011 10:09:23 PM (13 years ago)
- Location:
- wp-e-commerce/branches/3.8-development
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-e-commerce/branches/3.8-development/wpsc-core/wpsc-functions.php
r355095 r356322 817 817 818 818 // Category stuff for nice URLs 819 if ( ('' != $q['wpsc_product_category']) && !$query->is_singular ) {819 if ( ) && !$query->is_singular ) { 820 820 $q['taxonomy'] = 'wpsc_product_category'; 821 821 $q['term'] = $q['wpsc_product_category']; -
wp-e-commerce/branches/3.8-development/wpsc-includes/theme.functions.php
r353908 r356322 497 497 498 498 // If its the category page 499 if( wpsc_is_viewable_taxonomy() && isset( $wp_query->posts[0] ) && $wp_query->posts[0]->post_title == $post->post_title && $wp_query->is_archive && !is_admin() ){499 if( wpsc_is_viewable_taxonomy() && isset( $wp_query->posts[0] ) && $wp_query->posts[0]->post_title == $post->post_title && $wp_query->is_archive && !is_admin()){ 500 500 $category = get_term_by('slug',$wp_query->query_vars['wpsc_product_category'],'wpsc_product_category'); 501 501 remove_filter('the_title','wpsc_the_category_title');
Note: See TracChangeset
for help on using the changeset viewer.