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

WordPress Trac noreply at wordpress.org
Sat Feb 13 14:20:52 UTC 2016


#35668: Avoid using HTML tags in translation strings (wp-admin/credits.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):

 Option 7:

 {{{
 <p class="clear"><?php
         printf(
                 /* translators: %s: link to make.wordpress.org */
                 __( 'Want to see your name in lights on this page? %s.' ),
                 sprintf(
                         '<a href="%1$s">%2$s</a>',
                         esc_url( __( 'https://make.wordpress.org/' ) ),
                         __( 'Get involved in WordPress' )
                 )
         );
 ?></p>
 }}}

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


More information about the wp-trac mailing list