Skip to:

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#6905 closed defect (bug) (fixed)

Avoid using HTML tags in translation strings (bp-core/classes/class-bp-core-login-widget.php)

Reported by: ramiy's profile ramiy Owned by: djpaul's profile djpaul
Milestone: 2.5 Priority: normal
Severity: normal Version:
Component: I18N 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.

Attachments (1)

6905.patch (777 bytes) - added by ramiy 8 years ago.

Download all attachments as: .zip

Change History (4)

8 years ago

#1 @DJPaul
8 years ago

  • Milestone changed from Awaiting Review to 2.5

#2 @djpaul
8 years ago

  • Owner set to djpaul
  • Resolution set to fixed
  • Status changed from new to closed

In 10591:

Log in widget: avoid using HTML in translation strings, and escaping improvements.

Fixes #6905, props ramiy

#3 @DJPaul
8 years ago

  • Component changed from Locale - i18n to I18N
Note: See TracTickets for help on using tickets.