• I’m using post_submit_meta_box() to display the Publish metabox on a screen I’m developing for a plugin. The elements in the box are displaying as if my role were contributor (e.g., the Publish button says Submit for Review instead). I’m logged in with the role of administrator, so I should see everything.

    Does anyone know what could cause this and how to fix it?

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

    (@hunsford)

    Even though I’m logged in as an administrator, WordPress is displaying the Publish metabox as if current_user_can('publish_posts') is false.

    I’ve checked the database to make sure nothing is wrong with the administrator-role capabilities. ‘publish_posts’ is listed. (I haven’t touched the roles in this installation, so it would be weird for them to be messed up.)

    Any ideas what I need to do in my plugin to get the post_submit_meta_box to display correctly?

    Thread Starter hunsford

    (@hunsford)

    This remains an issue for me. Is anyone else out there using post_submit_meta_box in their plugin? Has anyone experienced a similar issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘post_submit_meta_box() displaying as if my role is contributor instead of admin’ is closed to new replies.