ajax not working
-
that is because post filter are set only on not in admin mode. ajax is always in admin mode so filters are never applied! quick fix line 60
if(DOING_AJAX === true || !is_admin()){
add_filter(‘posts_join’, array(&$this, ‘reOrder_query_join’));
add_filter(‘posts_where’, array(&$this, ‘reOrder_query_where’));
add_filter(‘posts_orderby’, array(&$this, ‘reOrder_query_orderby’));
}https://www.ads-software.com/plugins/reorder-post-within-categories/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘ajax not working’ is closed to new replies.