Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter amoreynis

    (@amoreynis)

    After some source code investigation the problem seems to be isolated in CF7 classes.php in public static function find.

    The problem is that with ‘s’ (searchquery) argument after executing WP_Query
    $q = new WP_Query();
    $posts = $q->query( $args );
    $posts holds of an array of WP posts but non WPCF7 forms.

    Wisthout ‘s’ searchquery $posts holds an array of WPCF7 forms.

    Thread Starter amoreynis

    (@amoreynis)

    Got it. The problem was in pre_get_posts search filter. It filters only the posts of type ‘posts’ not wpcf7 forms.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Search within WP admin panel is broken’ is closed to new replies.