bug and solution
-
Hello,
First, sorry for my English.This plugin cause a bug with all widgets who list the last blog of the category sorted by oldest.
here : function poc_category_order( $query )
We have :
if ( $post_order == 'oldest' && $query->is_category($cat_id) && $query->is_main_query() )
This conditionnal test ” && $query->is_category($cat_id)” is useless and cause the bug.
I change it to :
if ( $post_order == 'oldest' && $query->is_main_query() )
And all is working.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘bug and solution’ is closed to new replies.