WordPress.org

Ready to get started?Download WordPress

Forums

Configure SMTP
Change privileges to Editor (1 post)

  1. Omegakenshin
    Member
    Posted 3 years ago #

    Hi, I want to know how can I allow an Editor to use the plugin, I try to change line 152 in c2c-plugin.php

    if ( $this->show_admin && $this->settings_page && !empty( $this->config ) && current_user_can( 'manage_options' ) ) {

    to

    if ( $this->settings_page && !empty( $this->config ) && current_user_can( 'moderate_comments' ) ) {

    After this comes "add_action( 'admin_menu', array( &$this, 'admin_menu' ) );" so i guess this is the right line...

    Can someone help me change the privileges of the plugin?
    I really apreciate it, Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic