Skip to:
Content

BuddyPress.org

Opened 9 years ago

Closed 9 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
Cc:

Description

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 9 years ago.

Download all attachments as: .zip

Change History (4)

@ramiy
9 years ago

#1 @DJPaul
9 years ago

  • Milestone changed from Awaiting Review to 2.5

#2 @djpaul
9 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.