[wp-meta] [Making WordPress.org] #1163: Display links to slides and WPTV video on individual Session pages
Making WordPress.org
noreply at wordpress.org
Mon May 9 14:12:27 UTC 2016
#1163: Display links to slides and WPTV video on individual Session pages
--------------------------------------+------------------------
Reporter: lcrdd | Owner: kovshenin
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: wordcamp.org | Resolution: fixed
Keywords: good-first-bug has-patch |
--------------------------------------+------------------------
Comment (by kovshenin):
Thanks for the patch @juanfra, it's deployed now! Not a big deal, but for
easier translations it'd be best to use:
{{{
sprintf( '<a href="%s" target="_blank">%s</a>', esc_url( $session_video ),
esc_html__( 'View Session Video', 'wordcamporg' ) );
}}}
Instead of:
{{{
sprintf( __( '<a href="%s" target="_blank">View Session Video</a>',
'wordcamporg' ), esc_url( $session_video ) );
}}}
That way translators won't have to worry about HTML.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1163#comment:10>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list