Ticket #5470: 5470.diff
File 5470.diff, 499 bytes (added by , 11 years ago) |
---|
-
bp-core/admin/bp-core-tools.php
301 301 $message = str_replace( "'", "\'", $message ); 302 302 $lambda = create_function( '', "echo '$message';" ); 303 303 304 add_action( 'admin_notices', $lambda );304 add_action( bp_core_do_network_admin() ? 'network_admin_notices' : 'admin_notices', $lambda ); 305 305 306 306 return $lambda; 307 307 }