Changeset 53971 for branches/5.2/src/wp-includes/post-template.php
- Timestamp:
- 08/30/2022 03:38:30 PM (2 years ago)
- Location:
- branches/5.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
- Property svn:mergeinfo changed
/trunk merged: 52412,53958-53960
- Property svn:mergeinfo changed
-
branches/5.2/src/wp-includes/post-template.php
r45937 r53971 1076 1076 * @since 1.2.0 1077 1077 * 1078 * @ internal This will probably change at some point...1078 * @deprecated 6.0.2 Use get_post_meta() to retrieve post meta and render manually. 1079 1079 */ 1080 1080 function the_meta() { 1081 _deprecated_function( __FUNCTION__, '6.0.2', 'get_post_meta()' ); 1081 1082 if ( $keys = get_post_custom_keys() ) { 1082 1083 $li_html = ''; … … 1093 1094 "<li><span class='post-meta-key'>%s</span> %s</li>\n", 1094 1095 /* translators: %s: Post custom field name */ 1095 sprintf( _x( '%s:', 'Post custom field name' ), $key),1096 $value1096 esc_html( sprintf( _x( '%s:', 'Post custom field name' ), $key ) ), 1097 esc_html( $value ) 1097 1098 ); 1098 1099
Note: See TracChangeset
for help on using the changeset viewer.