WordPress.org

Ready to get started?Download WordPress

Forums

WP Overview (lite) Footer Memory Usage
[resolved] [Plugin: WP Overview (lite) Dashboard Footer Memory Usage] request: dashboard widget not for subscri (6 posts)

  1. RavanH
    Member
    Posted 3 years ago #

    Hi,

    This very useful plugin -- THANKS ! :) -- provides me as admin very useful info. But I have noticed that regular Subscribers get to see the same info.

    For most it's just confusing, for others it's too much info on server background and in that respect it might be considered a security risk. At least for sites where user registration is open...

    Could you please allow only the admin (and super admin on multi-site installations) to see the dashboard widget and footer info? Or at least NOT regular subscribers?

    Thanks :)

    http://wordpress.org/extend/plugins/wp-overview-lite/

  2. sLa NGjI's
    Member
    Plugin Author

    Posted 3 years ago #

    Well :) I take much pleasure this report. I intend to implement this change in the future. I think the change will not be available before the release of WordPress 3.2. I am currently working on other changes to the plugin, in particular on the new memory management according to the ticket, http://core.trac.wordpress.org/ticket/13847

    P.S. ... you are free to implement this change yourself, if you judge it necessary, and I will be happy to put it in the plugin code ... ;)

    Bye :)

  3. RavanH
    Member
    Posted 3 years ago #

    P.S. ... you are free to implement this change yourself, if you judge it necessary, and I will be happy to put it in the plugin code ... ;)

    I suggest adding if (!current_user_can('unfiltered_html')) return; like this:

    function wpo_dashboard() {
    	if (!current_user_can('unfiltered_html'))
    		return;
    	wp_add_dashboard_widget('wp_overview_lite_mu_dashboard_widget', 'Overview',array(&$this,'wpo_output'));
    }

    This results in the widget only showing for Admin on a regular WP installation and only for Super Admin on a Multi-site setup (as long as the plugin Unfiltered HTML is not running)... It will leave the short memory usage message in the footer, which is fine. It can even serve some purpose when a normal Site Admin runs into problems and he/she reports about them to Super Admin and mentions high MEM values :)

  4. sLa NGjI's
    Member
    Plugin Author

    Posted 3 years ago #

    Try DEVELOPMENTAL version ;)

    Thanks! :)

  5. Matthew Gedeon
    Member
    Posted 3 years ago #

    Very useful plugin. Thanks!

  6. sLa NGjI's
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks you cmdrmatt :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic