Changeset 42225 for trunk/src/wp-includes/post-template.php
- Timestamp:
- 11/24/2017 05:20:39 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-template.php
r42201 r42225 1017 1017 function the_meta() { 1018 1018 if ( $keys = get_post_custom_keys() ) { 1019 echo "<ul class='post-meta'>\n";1019 $li_html = ''; 1020 1020 foreach ( (array) $keys as $key ) { 1021 1021 $keyt = trim( $key ); … … 1042 1042 * @param string $value Meta value. 1043 1043 */ 1044 echo apply_filters( 'the_meta_key', $html, $key, $value ); 1045 } 1046 echo "</ul>\n"; 1044 $li_html .= apply_filters( 'the_meta_key', $html, $key, $value ); 1045 } 1046 1047 if ( $li_html ) { 1048 echo "<ul class='post-meta'>\n{$li_html}</ul>\n"; 1049 } 1047 1050 } 1048 1051 }
Note: See TracChangeset
for help on using the changeset viewer.