[wp-trac] [WordPress Trac] #35746: i18n: Avoid using HTML tags in translation strings (wp-admin/users.php)

WordPress Trac noreply at wordpress.org
Thu Jun 6 10:43:00 UTC 2019


#35746: i18n: Avoid using HTML tags in translation strings (wp-admin/users.php)
--------------------------+-----------------------------
 Reporter:  ramiy         |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  5.3
Component:  Users         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------
Changes (by ramiy):

 * focuses:   => administration
 * component:  I18N => Users


Comment:

 @SergeyBiryukov, we can replace the following 6 translation strings:

 {{{
 New user created.
 New user created. <a href="%s">Edit user</a>

 User has been added to your site.
 User has been added to your site. <a href="%s">Edit user</a>

 User added.
 User added. <a href="%s">Edit user</a>
 }}}

 with only 4 translation strings:

 {{{
 New user created.

 User has been added to your site.

 User added.

 ----

 Edit user
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/35746#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list