[wp-trac] [WordPress Trac] #35730: Avoid using HTML tags in translation strings (wp-signup.php)
WordPress Trac
noreply at wordpress.org
Thu Feb 4 22:03:30 UTC 2016
#35730: Avoid using HTML tags in translation strings (wp-signup.php)
--------------------------+-----------------------------
Reporter: ramiy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The `wp-signup.php` file has lots of translation strings.
The attached patch includes:
1. Eight new translators comments.
2. 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
“%4$s” using your existing password.`
By splitting the string into two smaller strings:
1. `%s is your new site.`
2. `<a href="%1$s">Log in</a> as “%2$s” using your existing
password.`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35730>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list