Title: [Plugin: Dave&#039;s WordPress Live Search] Bug Fix
Last modified: August 20, 2016

---

# [Plugin: Dave's WordPress Live Search] Bug Fix

 *  [lag47](https://wordpress.org/support/users/lag47/)
 * (@lag47)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-daves-wordpress-live-search-bug-fix/)
 * To get rid of the has_cap notice and clean up the code a bit…
 * DavesWordPressLiveSearch.php lines 152 thru 154:
 *     ```
       public static function admin_menu() {
               if (current_user_can('manage_options')) {
                   add_options_page("Dave's WordPress Live Search Options", __('Live Search', 'mt_trans_domain'), 8, __FILE__, array('DavesWordPressLiveSearch', 'plugin_options'));
               }
           }
       ```
   
 * should simply be:
 *     ```
       public static function admin_menu(){
               add_options_page("Dave's WordPress Live Search Options", __('Live Search', 'mt_trans_domain'), 'manage_options', __FILE__, array('DavesWordPressLiveSearch', 'plugin_options'));
           }
       ```
   
 * specifically, **8** needs to become **‘manage_options’**

Viewing 1 replies (of 1 total)

 *  Plugin Author [Dana Ross](https://wordpress.org/support/users/csixty4/)
 * (@csixty4)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-daves-wordpress-live-search-bug-fix/#post-2178352)
 * Great catch. Thanks!

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Dave's WordPress Live Search] Bug Fix’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/daves-wordpress-live-search_daad6f.
   svg)
 * [Dave's WordPress Live Search](https://wordpress.org/plugins/daves-wordpress-live-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/daves-wordpress-live-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/daves-wordpress-live-search/)
 * [Active Topics](https://wordpress.org/support/plugin/daves-wordpress-live-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/daves-wordpress-live-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/daves-wordpress-live-search/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dana Ross](https://wordpress.org/support/users/csixty4/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-daves-wordpress-live-search-bug-fix/#post-2178352)
 * Status: not resolved