Bug fixes for Shopp Arrange
-
Hi,
I found two bugs in the shopp-arrange plugin. The first is a missing isset call before using the GET[‘page’] parameter near line 31 of shopp-arrange.php
if(isset($_GET[‘page’]) && $_GET[‘page’] == “shopp-settings-preferences”) {
The second is that only categories with products are displayed in the arrange page because hide-empty is allowed to default in the wp_list_categories near line 50 of shopp-arrange-categories.php:
wp_list_categories(array(‘hide_empty’=>0, ‘hierarchical’=> true, ‘taxonomy’ => ‘shopp_category’,’title_li’ => ”));
With these two fixes the plugin works wonderfully. Thank you, I’ve patched my copy but thought others might find these fixes worthwhile.
/peter
- The topic ‘Bug fixes for Shopp Arrange’ is closed to new replies.