Opened 18 years ago
Closed 18 years ago
#8651 closed defect (bug) (fixed)
Tag ajax search in admin doesn't work if user role is less than editor
| Reported by: | yoavf | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | suggest, admin-ajax, has-patch |
| Cc: | Focuses: |
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
@
18 years ago
- Keywords has-patch added
- Summary Tag auto suggest in admin doesn't work if user role is less than editor → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.