Support » Plugin: Taxonomy Images » [Plugin: Taxonomy Images] Lack permission to edit term error

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ok, so the problem is actually if you don’t define the capabilities array in register_taxonomy. This should be more clear in your plugin details because most people don’t define taxonomies with the capabilities array.

    Even more confusing is that as an admin you can manage/edit/delete the taxonomy terms, but with your plugin, it says you can’t edit them.

    To make sure you don’t run into this error, at a minimum add this to your register_taxonomy call:

    capabilities => array('edit_terms')

    I’ve tried what is described above but can’t seem to get it to go through still.

    register_taxonomy( 'Clients',
    			array( 'work' ),
    			array
    			(
    				'hierarchical' => true,
    				'label' => 'Clients',
    				'singular_label' => 'Client',
    				'rewrite' => true,
    				'capabilities' => array
    				(
    					'edit_terms' => 'edit_divisions'
    				)
    			)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Taxonomy Images] Lack permission to edit term error’ is closed to new replies.