Forums

Create or edit post tag cloud says -1 with author account (7 posts)

  1. 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.

  2. 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.

  3. 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.

  4. dallen
    Member
    Posted 3 years ago #

    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.

  5. 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?

  6. 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' :
  7. 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!

Topic Closed

This topic has been closed to new replies.

About this Topic