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

buddypress-trac noreply at wordpress.org
Mon Jan 12 20:53:22 UTC 2015


#6030: Ability to redefine bp_core_render_message()
--------------------------------------+-----------------------------
 Reporter:  slaFFik                   |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Future Release
Component:  Core                      |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |
--------------------------------------+-----------------------------
Changes (by imath):

 * keywords:  needs-patch good-first-bug => good-first-bug has-patch


Comment:

 On one hand, I agree with Mamaduka, as it can be done using this kind of
 code :
 https://gist.github.com/imath/8afc70a43318d306c711

 On the other hand, using 6030.patch (for instance) we get the same result
 with less lines of codes for the plugin developer. e.g. :
 {{{
 function slaffik_template_notice_args( $args ) {
         $args['class'] = 'slaffik-notice';

         return $args;
 }
 add_filter( 'bp_before_core_template_notice_parse_args',
 'slaffik_template_notice_args', 10, 1 );
 }}}

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


More information about the buddypress-trac mailing list