mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Posts, Post Types: Switch the order of arguments for implode()
in the_meta()
to match the function notation.
Props loyaltymanufaktur. Fixes #47481. Built from https://develop.svn.wordpress.org/trunk@45491 git-svn-id: http://core.svn.wordpress.org/trunk@45302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4c0620bdf8
commit
8c449d3312
@ -1104,7 +1104,7 @@ function the_meta() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$values = array_map( 'trim', get_post_custom_values( $key ) );
|
$values = array_map( 'trim', get_post_custom_values( $key ) );
|
||||||
$value = implode( $values, ', ' );
|
$value = implode( ', ', $values );
|
||||||
|
|
||||||
$html = sprintf(
|
$html = sprintf(
|
||||||
"<li><span class='post-meta-key'>%s</span> %s</li>\n",
|
"<li><span class='post-meta-key'>%s</span> %s</li>\n",
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45490';
|
$wp_version = '5.3-alpha-45491';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user