chitchat
Member
Posted 3 years ago #
When creating or editing a post using an author account, where it says "Choose from the most popular tags", instead of getting the tag cloud, it simply says "-1". With an admin or editor account I can pick the tags from the cloud as normal but they are not coming across to any of my author accounts.
adequacynet
Member
Posted 3 years ago #
I'm having the same issue. Are you using Role Manager? I am, and have been wondering if this could be part of the issue.
chitchat
Member
Posted 3 years ago #
I'm not using Role Manager. It's not browser specific either because I've tried Firefox, IE7, IE6 and Safari.
I just wanted to chime in that I am having the same issue. Everything works great for the administrator, but for the author the "Choose from the most popular tags" just gives a "-1" instead of the actual tags. I haven't tried this with an editor account, but so far no one complained except the Authors.
adequacynet
Member
Posted 3 years ago #
I still haven't been successful in fixing this issue. Authors (and a custom role I have set up) still continue to get "-1" instead of a list of tags. Anyone have any ideas?
hexello
Member
Posted 3 years ago #
It happens because of "manage categories" role. You need it to see the tags. So there are two solutions:
1) Add the role by Role Manager
2) Comment the role check in admin-ajax.php. These lines:
if ( !current_user_can( 'manage_categories' ) )
die('-1');
it's right after
case 'get-tagcloud' :
adequacynet
Member
Posted 2 years ago #
Thanks, hexello. I was able to fix this by adding the role in Role Manager, as you suggested. I appreciate your help!