直到我有 15 个类别都运行良好,然后我添加第 16 个类别,主要类别的所有子类别都消失了。
如果我删除最后插入的类别,我的类别的层次结构将恢复。这些类别分布在三个层次结构级别上。
register_taxonomy( 'wpsc_product_category', 'wpsc-product', array(
'hierarchical' => true,
'rewrite' => array(
'slug' => $wpsc_page_titles['products'],
'with_front' => false
),
'labels' => $labels
) );
我不喜欢极限,帮我打破它!:D
编辑:按此处所述修复:https ://code.google.com/p/wp-e-commerce/issues/detail?id=676