diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php
index 3734373..dd67427 100644
a
|
b
|
function the_meta() { |
1023 | 1023 | continue; |
1024 | 1024 | $values = array_map('trim', get_post_custom_values($key)); |
1025 | 1025 | $value = implode($values,', '); |
| 1026 | $separator = _x( ': ', 'Separator between key and value in the_meta()' ); |
1026 | 1027 | |
1027 | 1028 | /** |
1028 | 1029 | * Filters the HTML output of the li element in the post custom fields list. |
1029 | 1030 | * |
1030 | 1031 | * @since 2.2.0 |
1031 | 1032 | * |
1032 | | * @param string $html The HTML output for the li element. |
1033 | | * @param string $key Meta key. |
1034 | | * @param string $value Meta value. |
| 1033 | * @param string $html The HTML output for the li element. |
| 1034 | * @param string $key Meta key. |
| 1035 | * @param string $separator Separator. |
| 1036 | * @param string $value Meta value. |
1035 | 1037 | */ |
1036 | | echo apply_filters( 'the_meta_key', "<li><span class='post-meta-key'>$key:</span> $value</li>\n", $key, $value ); |
| 1038 | echo apply_filters( 'the_meta_key', "<li><span class='post-meta-key'>{$key}{$separator}</span>{$value}</li>\n", $key, $separator, $value); |
1037 | 1039 | } |
1038 | 1040 | echo "</ul>\n"; |
1039 | 1041 | } |