Support » Plugin: Bainternet Posts Creation Limits » It works with User ID but it doesn´t work with Author Role with WP 4.7.2

  • Hi, nice work! I create a rule with User Role Author, Post Type ANY, LIMIT 1, POST STATUS any and Time Span FOREVER and dont work. I use the same setting but I change in User Role Author by USER ID and plugin work like a charm!. I need work with user rule Author, Could you check this?. THX.

    Note: I have edited with user role editor the permissions of the Author role and dont chek manage_options but i have changed the capacity of upload_file to true and it has the permissions to edit, create and delete post only.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter runmusic

    (@runmusic)

    Note: Ok, I found the problem. The language of my site is Spanish and when selecting the role this does not translate well and the plugin does not work. Only work with English but with others languages don´t work. Could you check this?. THX.

    Thread Starter runmusic

    (@runmusic)

    I have solved it by removing translate_user_role ($ wp_roles-> role_names [$ role]) and putting only $ wp_roles-> role_names [$ role]
    In the balp_get_current_user_role () function. This does not translate the role name and works correctly. Please review in the feature. THK for you great work!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘It works with User ID but it doesn´t work with Author Role with WP 4.7.2’ is closed to new replies.