Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#35730 closed defect (bug) (fixed)

Avoid using HTML tags in translation strings (wp-signup.php)

Reported by: ramiy's profile ramiy Owned by: ocean90's profile ocean90
Milestone: 4.6 Priority: normal
Severity: normal Version:
Component: I18N Keywords: has-patch
Focuses: Cc:

Description

The wp-signup.php file has lots of translation strings.

The attached patch includes:

  1. Eight new translators comments.
  1. Removed HTML tags.

I've removed the HTML tags from this string:
<a href="%1$s">%2$s</a> is your new site. <a href="%3$s">Log in</a> as &#8220;%4$s&#8221; using your existing password.

By splitting the string into two smaller strings:

  1. %s is your new site.
  1. <a href="%1$s">Log in</a> as &#8220;%2$s&#8221; using your existing password.

Attachments (1)

35730.patch (8.1 KB) - added by ramiy 10 years ago.

Download all attachments as: .zip

Change History (4)

@ramiy
10 years ago

#1 @ramiy
10 years ago

  • Keywords has-patch added

#2 @ocean90
10 years ago

  • Milestone changed from Awaiting Review to 4.6

#3 @ocean90
10 years ago

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

In 37551:

I18N: Add translators comments to wp-signup.php.

Props ramiy.
Fixes #35730.

Note: See TracTickets for help on using tickets.