Make default 'template' argument of the_taxonomies() and get_the_taxonomies() translatable.
props juliobox. fixes #28714. Built from https://develop.svn.wordpress.org/trunk@28957 git-svn-id: http://core.svn.wordpress.org/trunk@28753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
489693cd30
commit
19a3159082
|
@ -3761,7 +3761,8 @@ function the_taxonomies( $args = array() ) {
|
|||
'before' => '',
|
||||
'sep' => ' ',
|
||||
'after' => '',
|
||||
'template' => '%s: %l.'
|
||||
/* translators: %s: taxonomy label, %l: list of term links */
|
||||
'template' => __( '%s: %l.' )
|
||||
);
|
||||
|
||||
$r = wp_parse_args( $args, $defaults );
|
||||
|
@ -3785,7 +3786,8 @@ function get_the_taxonomies( $post = 0, $args = array() ) {
|
|||
$post = get_post( $post );
|
||||
|
||||
$args = wp_parse_args( $args, array(
|
||||
'template' => '%s: %l.',
|
||||
/* translators: %s: taxonomy label, %l: list of term links */
|
||||
'template' => __( '%s: %l.' ),
|
||||
) );
|
||||
|
||||
$taxonomies = array();
|
||||
|
|
Loading…
Reference in New Issue