Support » Plugin: Search Everything » [Plugin: Search Everything] Breaks admin search function for internal linking

Viewing 3 replies - 1 through 3 (of 3 total)
  • I can confirm this is happening as well.

    I was able to get search/SE working for internal links on the admin page/link dialog popup.

    The issue is that $wp_query->query_vars['s'] is not set by that form, it uses $_POST['search'] instead.

    In search-everything.php, everywhere there is a if (!empty($wp_query->query_vars['s'])), I added if($_POST['search']) {$wp_query->query_vars['s'] = $_POST['search']; } on the line before.
    The only exception to the method is the conditional statement at 153, which is a shorthand method.

    Then, and though it pains me, I hacked the core /includes/class-wp-editor.php. On line 695, I changed the suppress_filters value to ‘FALSE’.

    I know this probably isn’t ideal, but I really needed to get this working for a client. The obvious drawback is that a WP update will likely break this again.

    is there anybody else having same issue and trying to solve it without touching core pls?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Search Everything] Breaks admin search function for internal linking’ is closed to new replies.