Make WordPress Core

Changeset 45491


Ignore:
Timestamp:
06/05/2019 12:15:06 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Posts, Post Types: Switch the order of arguments for implode() in the_meta() to match the function notation.

Props loyaltymanufaktur.
Fixes #47481.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-template.php

    r45261 r45491  
    11051105
    11061106            $values = array_map( 'trim', get_post_custom_values( $key ) );
    1107             $value  = implode( $values, ', ' );
     1107            $value  = implode( ', ', $values );
    11081108
    11091109            $html = sprintf(
Note: See TracChangeset for help on using the changeset viewer.