Support » Plugins and Hacks » User Permissions » [Plugin: User Permissions] listed twice

[Plugin: User Permissions] listed twice

  • spacechampion


    On the edit page / edit post pages, the user permission metabox is listed twice. Bug?

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


    Same here – how do I remove the duplicate metabox without breaking the plugin altogether?

    Same problem…

    You can edit the user-permissions.php code in the wp-content/plugins/user-permissions/user-permissions.php

    ** Make a backup first! **

    near the top of the file ( ~line 31…) change the function as follows:
    notice the //jwatson comment and the two following commented out lines.

    class User_Permissions extends UserPermission_Plugin
    	function User_Permissions ()
    		$this->register_plugin ('user-perms', __FILE__);
    		$this->add_filter ('user_has_cap', 'check_capabilities', 10, 3);
    		$this->add_action ('the_posts');
    		if (is_admin ())
                            // jwatson omit duplicate display issue
    			//$this->add_action ('dbx_post_sidebar', 'edit');
    			//$this->add_action ('dbx_page_sidebar', 'edit');
    			$this->add_action ('edit_page_form', 'edit');
    			$this->add_action ('save_post');
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: User Permissions] listed twice’ is closed to new replies.