WordPress.org

Ready to get started?Download WordPress

Forums

Search Everything
Admin panel shows up for Editor (6 posts)

  1. Naturalrush
    Member
    Posted 2 years ago #

    Using WP 3.2.1. I noticed the admin panel is displaying for those who are an Editor. Is this by design for the admin panel to viewable by other than Administrator?

    Thanks,
    -Ray

    http://wordpress.org/extend/plugins/search-everything/

  2. geminorum
    Member
    Posted 2 years ago #

    same problem, just have to use "manage_options" instead of "extend_search" on add_options_page()

  3. Webtaurus
    Member
    Posted 2 years ago #

    The problem still exist..

    I do not understand the remarks by @geminorium ? Is that a way to solve the issue and if so can someone explain ?

    Grtz. Henk

  4. Karsten
    Member
    Posted 2 years ago #

    WordPress 3.4.1

    Same Problem as @Naturalrush : Search-Everything Options are visible to all Backend-Users. This setting should be only accessable to Admins.

    Is there any workaroud, until it's fixed?
    Maybe @geminirum can be more specific?

    Thanks.

  5. womensradio
    Member
    Posted 1 year ago #

    would LOVE an update here to remove this menu item for non-admin users!

    Also, @geminorum, we were able to locate "extend_search" in the Plugin editor (/wp-admin/plugin-editor.php?file=search-everything%2Fviews%2Foptions.php&plugin=search-everything%2Fsearch-everything.php) but simply changing "extend_search" to "manage_options" did not do the trick...

    Are we missing something here?

    Thanks!

    -Brian & WR

  6. womensradio
    Member
    Posted 1 year ago #

    OK. Using some other markup we found in our functions.php file to do something similar for a different plugin, we've come up with a snippet of code that will remove the "Settings" menu for non-admins.

    Yes, this will remove the ENTIRE settings menu, which contains the Search Everything sub-menu. While this may not solve everyone's specific needs, this did solve our needs quite well.

    Place this snippet of code in the functions.php file at Dashboard >> Appearance >> Editor:

    //hide settings menu items to non administrators
    if ( is_admin() && ! current_user_can( 'administrator' ) ) {
    	add_action( 'admin_init', 'my_remove_menu_pages' );
    	function my_remove_menu_pages() {
    	remove_menu_page('options-general.php');
    	}
    }

    Does this work for you? Please let us know!

    -Brian & WR

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic