Opened 16 years ago
Closed 16 years ago
#8651 closed defect (bug) (fixed)
Tag ajax search in admin doesn't work if user role is less than editor
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | suggest, admin-ajax, has-patch |
Focuses: | Cc: |
Description
in admin-ajax.php (case 'inline-save-tax') there's the following test:
if ( ! current_user_can('manage_categories') )
Contributors cannot manage_categories, so they cannot get ajax tag suggestions, and instead they get "-1"
Attachments (1)
Change History (4)
#2
@
16 years ago
- Keywords has-patch added
- Summary changed from Tag auto suggest in admin doesn't work if user role is less than editor to Tag ajax search in admin doesn't work if user role is less than editor
Sorry about that, I did mean ajax-tag-search.
Added a patch with ('edit_posts') instead of ('manage_categories')
Note: See
TracTickets for help on using
tickets.
You mean ajax-tag-search? I think requiring edit_posts is sufficient for tag suggest. It doesn't create new tags, just fetches existing ones.