WordPress.org

Ready to get started?Download WordPress

Forums

BulletProof Security
[resolved] Don't display BPS security log size warning for non-admins (6 posts)

  1. Daedalon
    Member
    Posted 1 year ago #

    Currently BPS security log size warning is displayed for regular users using the admin panel. It should be shown only to admins (those who can manage site options).

    http://wordpress.org/extend/plugins/bulletproof-security/

  2. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Do you have a Network/Multisite installation of WordPress? Where exactly is the Admin Notice being displayed? What Roles/Permissions do the Users have that can see the Admin Notice?

  3. Daedalon
    Member
    Posted 1 year ago #

    Regular installation. I noticed this on a user account that has the role Author. The message is shown at the top of wp-admin pages (the usual place).

    Noticed this after being logged in with that test account and clicking "Mark as spam" link of a trackback notification email sent to the admin account.

  4. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Yep, ok this Admin Notice check/code has been changed from...

    if ( file_exists($filename) ) {

    ...to...

    if ( file_exists($filename) && current_user_can('manage_options') ) {

    BPS .48.6 is scheduled for release sometime today and will include this new Admin Notice check/code.

  5. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    BPS .48.6 has been released and this code correction has been added.

  6. Daedalon
    Member
    Posted 1 year ago #

    Great!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.