WordPress.org

Ready to get started?Download WordPress

Forums

Members Only
Remove members-only settings from wp-admin (2 posts)

  1. Richard5
    Member
    Posted 2 years ago #

    I've noticed that readers who only have read and write comment permissions are able to change the "Members Only" settings. This while other settings are removed from the users view and they are unable to edit any setting. Looks like something was missed there.

    Could this please be corrected as someone might accidentally throw the site wide-open.

    http://wordpress.org/extend/plugins/members-only/

  2. stuureenswatnaarhugo
    Member
    Posted 2 years ago #

    Hi Richard,

    Change rule 98 in the plugin file:

    add_options_page('Members Only', 'Members Only', 8, basename(__FILE__), 'members_only_options_page');

    to

    add_options_page('Members Only', 'Members Only', 'manage_options', basename(__FILE__), 'members_only_options_page');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic