edit_published_posts change to true? (3 posts)

  1. Magistar
    Posted 1 year ago #

    According to the Codex there is a build in way to allow Authors to edit their own published posts:

    ◾ Since 2.0
    ◾ User can edit their published posts. This capability is off by default.
    ◾ The core checks the capability edit_posts, but on demand this check is changed to edit_published_posts.

    However I did not find where I could change this. Is it in a php file? Do I add a filter to functions.php? Is it set in Mysql?

    I really would like to avoid using another plugin.


  2. linux4me2
    Posted 1 year ago #

    I believe the value is in the wp_options table under the option_name "wp_user_roles." I haven't seen an easy way to edit the values there other than with a plugin, but there may be one.

    You could always install the plugin, make the changes, and then delete the plugin, since the values are retained in the database.

  3. Magistar
    Posted 1 year ago #

    Hmm I would assume you can add a filter or something. But codex is really unclear on this topic :(.

Topic Closed

This topic has been closed to new replies.

About this Topic