[wp-trac] [WordPress Trac] #35751: Avoid using HTML tags in translation strings (wp-admin/includes/meta-boxes.php)

WordPress Trac noreply at wordpress.org
Fri Feb 5 20:21:23 UTC 2016


#35751: Avoid using HTML tags in translation strings (wp-admin/includes/meta-
boxes.php)
--------------------------+------------------------------
 Reporter:  ramiy         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by ramiy):

 Old string:

 * `Excerpts are optional hand-crafted summaries of your content that can
 be used in your theme. <a href="https://codex.wordpress.org/Excerpt"
 target="_blank">Learn more about manual excerpts.</a>`

 New strings:

 * `Excerpts are optional hand-crafted summaries of your content that can
 be used in your theme.`
 * `https://codex.wordpress.org/Excerpt`
 * `Learn more about manual excerpts.`

 ----

 Old string:

 * `Trackbacks are a way to notify legacy blog systems that you’ve
 linked to them. If you link other WordPress sites, they’ll be
 notified automatically using <a
 href="https://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments"
 target="_blank">pingbacks</a>, no other action necessary.`

 New strings:

 * `Trackbacks are a way to notify legacy blog systems that you’ve
 linked to them. If you link other WordPress sites, they’ll be
 notified automatically using <a href="%s" target="_blank">pingbacks</a>,
 no other action necessary.`
 * `https://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments`

 ----

 Old string:

 * `Custom fields can be used to add extra metadata to a post that you can
 <a href="https://codex.wordpress.org/Using_Custom_Fields"
 target="_blank">use in your theme</a>.`

 New strings:

 * `Custom fields can be used to add extra metadata to a post that you can
 <a href="%s" target="_blank">use in your theme</a>.`
 * `https://codex.wordpress.org/Using_Custom_Fields`

 ----

 Old string:

 * `Allow <a href="%s" target="_blank">trackbacks and pingbacks</a> on this
 page.`

 New strings:

 * `Allow %s on this page.`
 * `trackbacks and pingbacks`

 ----

 Old string:

 * `If the link is to a person, you can specify your relationship with them
 using the above form. If you would like to learn more about the idea check
 out <a href="http://gmpg.org/xfn/">XFN</a>.`

 New strings:

 * `If the link is to a person, you can specify your relationship with them
 using the above form. If you would like to learn more about the idea check
 out %s.`

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


More information about the wp-trac mailing list