Changeset 53980 for branches/4.3/src/wp-includes/post-template.php
- Timestamp:
- 08/30/2022 03:50:37 PM (4 years ago)
- Location:
- branches/4.3
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/post-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3
- Property svn:mergeinfo changed
/trunk merged: 53958-53960
- Property svn:mergeinfo changed
-
branches/4.3/src/wp-includes/post-template.php
r45959 r53980 939 939 * Display list of post custom fields. 940 940 * 941 * @internal This will probably change at some point...942 941 * @since 1.2.0 942 * 943 * @deprecated 6.0.2 Use get_post_meta() to retrieve post meta and render manually. 943 944 */ 944 945 function the_meta() { 946 _deprecated_function( __FUNCTION__, '6.0.2', 'get_post_meta()' ); 945 947 if ( $keys = get_post_custom_keys() ) { 946 948 echo "<ul class='post-meta'>\n"; … … 961 963 * @param string $value Meta value. 962 964 */ 963 echo apply_filters( 'the_meta_key', "<li><span class='post-meta-key'> $key:</span> $value</li>\n", $key, $value );965 echo apply_filters( 'the_meta_key', "<li><span class='post-meta-key'>" . esc_html( $key ) . ":</span>" . esc_html( $value ) . "</li>\n", $key, $value ); 964 966 } 965 967 echo "</ul>\n";
Note:
See TracChangeset
for help on using the changeset viewer.