[wp-trac] [WordPress Trac] #35668: Avoid using HTML tags in translation strings (wp-admin/credits.php)
WordPress Trac
noreply at wordpress.org
Sun Jan 31 16:38:14 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:
--------------------------+------------------------------
Changes (by ramiy):
* keywords: => has-patch
Comment:
Replying to [comment:3 ocean90]:
> The link isn't translatable anymore and the period after "Get involved
in WordPress" is missing.
Option 4:
{{{
<p class="clear">
<?php _e( 'Want to see your name in lights on this page?' ); ?>
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/' )
); ?>"><?php _e( 'Get involved in WordPress' ); ?></a>.
</p>
}}}
Option 5:
{{{
<p class="clear">
<?php _e( 'Want to see your name in lights on this page?' ); ?>
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/' )
); ?>"><?php _e( 'Get involved in WordPress' ); ?></a><?php _e( '.' ); ?>
</p>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35668#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list