Remove comment editing on network? (3 posts)

  1. annchristines
    Posted 5 years ago #

    Could anyone please tell me how to remove the "quick edit" and "edit" function on comments from the controlpanel sitewide?

    I have been searching for a solution for days now and I have come up with nothing :(


    // Ann Christine

  2. annchristines
    Posted 5 years ago #

    Anyone who can help me?

    Please.... 8)

  3. Xephan
    Posted 5 years ago #

    Without testing, I could see theoretically 2 ways to do this

    1. Use the Capabilities plugins to limit your users capabilities. However this is troublesome and tedious so you might be better off writing a site-wide compulsory plugin (put it in mu-plugins) to edit the capabilities for all/new users except admin.

    2. It's probably not recommended but the easiest way I see it is to edit the admin php files, or simply change the line in comments.php to check for admin rather than just whether the user can edit_post.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.