• chitchat

    (@chitchat)


    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • adequacynet

    (@adequacynet)

    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.

    Thread Starter chitchat

    (@chitchat)

    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.

    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?

    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' :

    Thanks, hexello. I was able to fix this by adding the role in Role Manager, as you suggested. I appreciate your help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Create or edit post tag cloud says -1 with author account’ is closed to new replies.