Ticket #19882: 19882.diff
File 19882.diff, 525 bytes (added by , 13 years ago) |
---|
-
wp-includes/post.php
diff --git wp-includes/post.php wp-includes/post.php index b8c229a..468f34b 100644
function delete_post_meta($post_id, $meta_key, $meta_value = '') { 1462 1462 * @return mixed Will be an array if $single is false. Will be value of meta data field if $single 1463 1463 * is true. 1464 1464 */ 1465 function get_post_meta($post_id, $key , $single = false) {1465 function get_post_meta($post_id, $key = '', $single = false) { 1466 1466 return get_metadata('post', $post_id, $key, $single); 1467 1467 } 1468 1468