• Resolved joeroundtree


    When searching in the admin screens a custom post type, I get a 502 because of a conflict with the PublishPress Authors plugin.

    This is what happens:

    1. You run a search on the custom CPT
    2. PublishPress Authors updates for some reason the post taxonomy terms.
    3. SearchWP gets triggered and it drops those posts from the index as they may need to be updated after dropping the categories
    4. The 2 plugins trigger a nested loop somehow

    We can prevent SearchWP from listening to the taxonomy terms update using the following code which though is too broad and may affect other plugins:

    add_action( 'admin_init', function(){
    	if( 'edit.php' == $GLOBALS['pagenow'] && isset( $_REQUEST['s'] ) && ! empty( $_REQUEST['s'] ) ){
    		remove_all_actions( 'set_object_terms', 10 );

    Why is PublishPress Authors updating the taxonomy terms, and can I turn it off some way?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.