Skip to:
Content

BuddyPress.org

Opened 4 years ago

Closed 4 years ago

Last modified 4 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 Owned by: 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 4 years ago.

Download all attachments as: .zip

Change History (4)

@ramiy
4 years ago

#1 @DJPaul
4 years ago

  • Milestone changed from Awaiting Review to 2.5

#2 @djpaul
4 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
4 years ago

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