Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 10 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
Priority: normal Milestone: 2.5
Component: I18N Version:
Severity: normal 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 11 years ago.

Download all attachments as: .zip

Change History (4)

#1 @DJPaul
11 years ago

  • Milestone Awaiting Review → 2.5

#2 @djpaul
11 years ago

  • Owner set to djpaul
  • Resolution → fixed
  • Status new → closed

In 10591:

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

Fixes #6905, props ramiy

#3 @DJPaul
10 years ago

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