Opened 7 years ago
Closed 7 years ago
#47481 closed enhancement (fixed)
Wrong arguments order in the_meta()
| Reported by: | loyaltymanufaktur | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.3 |
| Component: | Posts, Post Types | Version: | 1.0 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: | Focuses: | template |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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]