[buddypress-trac] [BuddyPress Trac] #6030: Ability to redefine bp_core_render_message()

buddypress-trac noreply at wordpress.org
Wed Nov 19 13:01:31 UTC 2014


#6030: Ability to redefine bp_core_render_message()
--------------------------+------------------------------
 Reporter:  slaFFik       |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------
Changes (by slaFFik):

 * keywords:   => dev-feedback


Comment:

 There could be a filter, for tag, class and id. Content and other logic is
 ok, as for me, but that hard coded html should be changeable. IMO it's a
 bad idea to parse all that and replace before echoing.

 Something like this:

 {{{
 <<?php echo $html['tag']; ?> id="<?php echo $html['id']; ?>" class="<?php
 echo $html['class']; ?> <?php echo esc_attr( $type ); ?>">

     <?php echo $content; ?>

 </<?php echo $html['tag']; ?>>
 }}}


 What do you think?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6030#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list