WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Remove/Hide about guestbook page tab in admin menu

[Resolved] Remove/Hide about guestbook page tab in admin menu

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mibuthu

    @mibuthu

    There is no option included to change this. But if you require this you can change the code directly.

    Required changes in actual version 0.6.3:

    pluginfolder/admin/admin.php line 35 change:
    $page = add_submenu_page('edit-comments.php', 'About Comment Guestbook', 'About Guestbook', 'edit_posts', 'cgb_admin_about', array(&$this, 'show_about_page'));
    to:
    $page = add_submenu_page('edit-comments.php', 'About Comment Guestbook', 'About Guestbook', 'manage_options', 'cgb_admin_about', array(&$this, 'show_about_page'));

    pluginfolder/admin/include/about.php line 26 change:
    if(!current_user_can('edit_posts')) {
    to:
    if(!current_user_can('manage_options')) {

    Gffv cggbv

    Plugin Author mibuthu

    @mibuthu

    ???

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Remove/Hide about guestbook page tab in admin menu’ is closed to new replies.