Support » Plugin: Social Media Widget » Putting banner advertisements in the admin interface is unacceptable

  • Michael


    I administer a WordPress network for a University with about 300 sites. I was appalled to find that a recent update of this plugin snuck a banner advertisement into the WordPress admin dashboard (the top of the plugins page). Advertisements within the plugin’s own settings pages are sort of okay, but this crosses the line.

    I am considering removing the plugin from our network, but first I have to inventory which sites are actually using the widget and manually configure a replacement.

    For now at least, I was able to add the following code to a custom plugin.

    function remove_spam_social_widget_notice() {
    	if ( function_exists( 'socialwidget_global_notice' ) ) {
    		remove_action( 'admin_notices', 'socialwidget_global_notice');
    add_action('admin_notices', 'remove_spam_social_widget_notice', 9);
    function remove_spam_social_widget_menu() {
    	if ( function_exists( 'socialwidget_top_level_menu' ) ) {
    		remove_action( 'admin_menu', 'socialwidget_top_level_menu' );
    add_action('admin_menu', 'remove_spam_social_widget_menu', 9);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Putting banner advertisements in the admin interface is unacceptable’ is closed to new replies.