Opened 5 years ago
Closed 5 years ago
#47481 closed enhancement (fixed)
Wrong arguments order in the_meta()
Reported by: | loyaltymanufaktur | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | minor | Version: | 1.0 |
Component: | Posts, Post Types | Keywords: | has-patch commit |
Focuses: | template | Cc: |
Description
./wp-includes/post-template.php:1107
$value = implode( $values, ', ' );
The glue argument should be the first one:
$value = implode( ', ', $values );
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hello @loyaltymanufaktur, welcome to Trac!
Thanks for the ticket and the patch. As noted in the docs, "
implode()
can, for historical reasons, accept its parameters in either order". I'm fine with changing it, though.Related: [946], [948]