[buddypress-trac] [BuddyPress Trac] #6714: Filtering messages in bp_core_add_message()

buddypress-trac noreply at wordpress.org
Sun Nov 22 03:06:27 UTC 2015


#6714: Filtering messages in bp_core_add_message()
------------------------------+----------------------------------
 Reporter:  dcavins           |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  low               |   Milestone:  Under Consideration
Component:  Component - Core  |     Version:  2.3.3
 Severity:  minor             |  Resolution:
 Keywords:  has-patch         |
------------------------------+----------------------------------

Comment (by henry.wright):

 The {{{_x()}}} i18n function could be a 3rd option? For example:


 {{{
 $message = _x( 'Message', 'Context', 'text-domain' );
 bp_core_add_message( $message...
 }}}


 Ref:
 https://codex.wordpress.org/I18n_for_WordPress_Developers#Disambiguation_by_context

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


More information about the buddypress-trac mailing list