Changeset 53961
- Timestamp:
- 08/30/2022 03:17:21 PM (2 years ago)
- Location:
- branches/6.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0
-
branches/6.0/src/wp-includes/post-template.php
r53318 r53961 1089 1089 * @since 1.2.0 1090 1090 * 1091 * @ internal This will probably change at some point...1091 * @deprecated 6.0.2 Use get_post_meta() to retrieve post meta and render manually. 1092 1092 */ 1093 1093 function the_meta() { 1094 _deprecated_function( __FUNCTION__, '6.0.2', 'get_post_meta()' ); 1094 1095 $keys = get_post_custom_keys(); 1095 1096 if ( $keys ) { … … 1107 1108 "<li><span class='post-meta-key'>%s</span> %s</li>\n", 1108 1109 /* translators: %s: Post custom field name. */ 1109 sprintf( _x( '%s:', 'Post custom field name' ), $key),1110 $value1110 esc_html( sprintf( _x( '%s:', 'Post custom field name' ), $key ) ), 1111 esc_html( $value ) 1111 1112 ); 1112 1113
Note: See TracChangeset
for help on using the changeset viewer.