[buddypress-trac] [BuddyPress Trac] #6905: Avoid using HTML tags in translation strings (bp-core/classes/class-bp-core-login-widget.php)

buddypress-trac noreply at wordpress.org
Sat Feb 13 01:46:22 UTC 2016


#6905: Avoid using HTML tags in translation strings (bp-core/classes/class-bp-
core-login-widget.php)
---------------------------+-----------------------------
 Reporter:  ramiy          |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Locale - i18n  |    Version:
 Severity:  normal         |   Keywords:  has-patch
---------------------------+-----------------------------
 Old string:

 * `<a href="%s" title="Register for a new account">Register</a>`

 New strings:

 * `Register for a new account`
 * `Register`

 ----

 Also add `esc_url()` for the `href` link.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6905>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list