• Resolved setcookie

    (@setcookie)


    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)
  • thanks a lot, setcookie!
    wonderful timing, I just started using this plugin today and after some time I found out, that ajax is not working.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Hi setcookie

    I included this bug fix into a github repo I maintain with other fixes I have spotted over the months.

    I just updated the repo with an issue on multisite activation.

    You can see this thread for more info.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ajax not working’ is closed to new replies.