Changeset 19908
- Timestamp:
- 02/10/2012 10:42:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r19906 r19908 1468 1468 * is true. 1469 1469 */ 1470 function get_post_meta($post_id, $key , $single = false) {1470 function get_post_meta($post_id, $key = '', $single = false) { 1471 1471 return get_metadata('post', $post_id, $key, $single); 1472 1472 } … … 1528 1528 $post_id = get_the_ID(); 1529 1529 1530 return get_post_meta( $post_id , '');1530 return get_post_meta( $post_id ); 1531 1531 } 1532 1532
Note: See TracChangeset
for help on using the changeset viewer.