• Dear Chris,

    My site is getting some of its contents through a XHR request to wp-admin/admin-ajax.php and your plugin keeps changing the terms query arguments.

    I am using “The Gem” theme with WP Bakery plugin. Besides, in some pages I have added blocks such as “Post Grid” to load content from some categories. This block loads its contents through a XHR request to wp-admin/admin-ajax.php. However, your plugin always filters requested terms with the get_terms_args filter.

    How about avoiding filtering requested terms when the user do not have any restricted categories or when the request has been received throught AJAX?

    I have made a pull request with the required changes: https://github.com/chrisakelley/restricted-authors/pull/1

    Yours sincerely,
    Jesús ángel.

  • The topic ‘Plugin is filtering categories in ajax requests’ is closed to new replies.