Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    In general, it is not related to User Role Editor. URE just help you to change capabilities list included to the role. The rest is made by WordPress.

    In relation to your situation, there is the ‘contributor’ role which does not include “publish_posts” but allows save draft and submit post for review, moving it to the “pending” state. Compare your changed role with ‘contributor’ one.

    Thread Starter nullatmidnight

    (@leviathyn)

    So I understand what you mean by publish_post is the default for Author role compared to Contributor. However, even with the plugin enabled, you can not save, submit for review, or preview with contributor role.

    The function for publish_post in the editor role plugin is causing something (I’m guessing JavaScript) to not function correctly. As soon as you change any role to allow publish_post this issue goes away and all the buttons can be pressed.

    Plugin Author Vladimir Garagulya

    (@shinephp)

    URE only updates capabilities list included into the role at the WordPress MySQL database. The rest does WordPress. URE does not make anything with JavaScript or server side at Post Editor.

    Deactivate URE plugin. Can user with Contributor role work with posts? If he can not, the problem could be caused by some other plugin. Try to deactivate them all and check again. Then activate plugins one by one and check to isolate the problem.

    Thread Starter nullatmidnight

    (@leviathyn)

    Hold on, I just tried using the plugin in another WordPress setting and it works. So I must be mistaken here, it would just seem that changing the publish_post setting fixes a bug with another plugin. So some plugin hooked into the publish function is not working.

    Thanks

    Thread Starter nullatmidnight

    (@leviathyn)

    Thanks Vladimir, I feel like an idiot for not checking into the code more and jumping to conclusion. You have a great plugin here!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Editor Role – Publish_posts Error’ is closed to new replies.