Support » Plugin: AWPCP - Classifieds Plugin » Unwanted menu item for Subscriber

  • Resolved Timofey


    All Subscribres sees “Classifieds” item with empty submenu in the Dashboard menu. This menu item linked to /wp-admin/users.php ( with the “acess denied” message ).

    I have fixed this bug in this way:
    in the file: /another-wordpress-classifieds-plugin/admin/admin-panel.php (line 135) comment this:

    global $submenu;
                $submenu['awpcp.php'][] = array( __( 'Manage Credit', 'AWPCP' ), $capability, admin_url( 'users.php' ) );

    and replce with this:
    add_submenu_page( $parent, __( 'Manage Credit', 'AWPCP' ), __( 'Manage Credit', 'AWPCP' ), $capability, './users.php' );

    But this fixes may be lost, when upgrading plugin. It is possible, to add this fix to main plugin?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Unwanted menu item for Subscriber’ is closed to new replies.