Title: [Plugin: Search Everything] Breaks admin search function for internal linking
Last modified: August 20, 2016

---

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

 *  [audvin](https://wordpress.org/support/users/audvin/)
 * (@audvin)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-search-everything-breaks-admin-search-function-for-internal-linking/)
 * When you want to link to other internal posts or pages, the edit window allows
   you to search for these pages. This plugin breaks this function, rendering it’s
   search function useless.
 * [http://wordpress.org/extend/plugins/search-everything/](http://wordpress.org/extend/plugins/search-everything/)

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

 *  [NelsNose](https://wordpress.org/support/users/nelsnose/)
 * (@nelsnose)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-search-everything-breaks-admin-search-function-for-internal-linking/#post-2622567)
 * I can confirm this is happening as well.
 *  [NelsNose](https://wordpress.org/support/users/nelsnose/)
 * (@nelsnose)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-search-everything-breaks-admin-search-function-for-internal-linking/#post-2622617)
 * 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.
 *  [zabatonni](https://wordpress.org/support/users/zabatonni/)
 * (@zabatonni)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-search-everything-breaks-admin-search-function-for-internal-linking/#post-2622618)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/search-everything_242529.svg)
 * [Search Everything](https://wordpress.org/plugins/search-everything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-everything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-everything/)
 * [Active Topics](https://wordpress.org/support/plugin/search-everything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-everything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-everything/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [zabatonni](https://wordpress.org/support/users/zabatonni/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-search-everything-breaks-admin-search-function-for-internal-linking/#post-2622618)
 * Status: not resolved