[buddypress-trac] [BuddyPress Trac] #6907: Avoid using HTML tags in translation strings (bp-forums/deprecated/1.6.php)

buddypress-trac noreply at wordpress.org
Sun Feb 14 13:56:10 UTC 2016


#6907: Avoid using HTML tags in translation strings (bp-forums/deprecated/1.6.php)
---------------------------+----------------------------------
 Reporter:  ramiy          |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Under Consideration
Component:  Locale - i18n  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+----------------------------------

Comment (by ramiy):

 @DJPaul, This is how we do it in WordPress core. When we have `<code>`
 (usually to emphasis file names, classes of functions), we use `%s`
 placeholder, and move the HTML tags outside.

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


More information about the buddypress-trac mailing list