| @@ -19,15 +19,9 @@ | ||
| 19 | 19 | $role->add_cap('edit_own_profile'); |
| 20 | 20 | $role->add_cap('upload_files'); |
| 21 | 21 | $role->add_cap('wdk_listings_manage'); |
| 22 | 22 | |
| 23 | - add_role('wdk_developer' , __('Developer', 'wpdirectorykit'), array( 'read' => true, 'level_0' => true ) ); | |
| 24 | - $role = get_role('wdk_developer'); | |
| 25 | - $role->add_cap('edit_own_listings'); | |
| 26 | - $role->add_cap('edit_own_profile'); | |
| 27 | - $role->add_cap('upload_files'); | |
| 28 | - | |
| 29 | 23 | $role = get_role('administrator'); |
| 30 | 24 | $role->add_cap('wdk_listings_manage'); |
| 31 | 25 | } |
| 32 | 26 | |
| 33 | 27 | ?> |