From 21b3d9031a24ce4821b5ffe613a1926fa08d7380 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 5 Jun 2019 00:15:06 +0000 Subject: [PATCH] Posts, Post Types: Switch the order of arguments for `implode()` in `the_meta()` to match the function notation. Props loyaltymanufaktur. Fixes #47481. git-svn-id: https://develop.svn.wordpress.org/trunk@45491 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php index dd9e22d920..b882c61fe9 100644 --- a/src/wp-includes/post-template.php +++ b/src/wp-includes/post-template.php @@ -1104,7 +1104,7 @@ function the_meta() { } $values = array_map( 'trim', get_post_custom_values( $key ) ); - $value = implode( $values, ', ' ); + $value = implode( ', ', $values ); $html = sprintf( "
  • %s
  • \n",