[buddypress-trac] [BuddyPress] #2432: display multiple messages / notices via bp_core_render_message

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Jun 8 13:18:43 UTC 2010


#2432: display multiple messages / notices via bp_core_render_message
-------------------------+--------------------------------------------------
 Reporter:  aesqe        |       Owner:                   
     Type:  enhancement  |      Status:  new              
 Priority:  normal       |   Milestone:  1.3              
Component:  Core         |    Keywords:  notices, messages
-------------------------+--------------------------------------------------
 Example (custom component):

 user creates a new post = success;

 but in process, some of the files they uploaded are not of image mime type
 = error;

 I'd like to be able to display both messages.

 I've tried combining both messages into a string, separated by a <br />
 tag, but the bp_core_render_message kills it by doing "stripslashes(
 attribute_escape( $bp->template_message ) )", and only one $type can be
 set, anyway.

 I could probably produce a patch in a few days, if no one objects?

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2432>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list