Skip to:
Content

BuddyPress.org

Ticket #5470: 5470.diff

File 5470.diff, 499 bytes (added by imath, 11 years ago)
  • bp-core/admin/bp-core-tools.php

     
    301301        $message = str_replace( "'", "\'", $message );
    302302        $lambda  = create_function( '', "echo '$message';" );
    303303
    304         add_action( 'admin_notices', $lambda );
     304        add_action( bp_core_do_network_admin() ? 'network_admin_notices' : 'admin_notices', $lambda );
    305305
    306306        return $lambda;
    307307}