Index: wp-includes/post.php
===================================================================
--- wp-includes/post.php	(revision 16474)
+++ wp-includes/post.php	(working copy)
@@ -1490,15 +1490,7 @@
  * @return array
  */
 function get_post_custom( $post_id = 0 ) {
-	$post_id = absint( $post_id );
-
-	if ( ! $post_id )
-		$post_id = get_the_ID();
-
-	if ( ! wp_cache_get( $post_id, 'post_meta' ) )
-		update_postmeta_cache( $post_id );
-
-	return wp_cache_get( $post_id, 'post_meta' );
+	return get_metadata( 'post', $post_id );
 }
 
 /**
