WordPress.org

Ready to get started?Download WordPress

Forums

Post Types Order
Don't sort on non-privileged admin-ajax.php requests (2 posts)

  1. davidosomething
    Member
    Posted 2 years ago #

    I'm using admin-ajax.php to handle my ajax requests. Because this qualifies as is_admin(), menu_order is automatically used to sort if the Sort in Admin checkbox is set in the settings. It should not be set if doing an unprivileged ajax request

    http://wordpress.org/extend/plugins/post-types-order/

  2. nsp-code
    Member
    Plugin Author

    Posted 2 years ago #

    I see your point.
    I'll try to find a way to avoid this for further updates, possible something which we had implemented for the Advanced Post Types Order where you can use force_no_custom_order query param to ignore the order when autosort/admin order is ON

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.