WordPress.org

Ready to get started?Download WordPress

Forums

Can Editor modify Admin's content? (4 posts)

  1. Spiewgels
    Member
    Posted 6 years ago #

    I want to change a user's status to editor (I have the roles plugin) but I was wondering if they would have the capability of erasing and/or changing what I wrote. If not, is there a way I could stop them from editing and/or changing content that I provided?

  2. Spiewgels
    Member
    Posted 6 years ago #

    Okay, I made a user and set them to editor and apparently they can alter the admin's content. Is there any way to add an exclusion to who you don't want an editor to be able to change. In other words, is there some way to change some file so that I can exclude myself from the system when the option for editing content arises?

  3. Spiewgels
    Member
    Posted 6 years ago #

    Sorry Moshu for the double post...I realized the mistake as soon as I saw your warning for the other guy. Won't happen again; I was a bit peeved because I couldn't change the title of this post to indicate what I was newly looking for. Have you any ideas though?

  4. Spiewgels
    Member
    Posted 6 years ago #

    --Meanwhile, Spiewgels was on hands and knees begging...--

    Is there a snippet of php that would allow only the admin or level 10 user to modify the admin's posts/pages?

    Maybe something in the way of starting in this fashion:

    <?php if (!current_user_can('level 10'))
    {Some code that I have no idea how to write to exclude editor from modifying my posts (admin level or user id=1)and pages
    }

    Maybe I could upload this as a plugin and then activate??? If not, some file to insert this into? I graciously ask the wordpress community (Spiewgels humbly bowing)

Topic Closed

This topic has been closed to new replies.

About this Topic