diff --git a/src/wp-includes/feed.php b/src/wp-includes/feed.php
index 8a6d256068..468360365c 100644
--- a/src/wp-includes/feed.php
+++ b/src/wp-includes/feed.php
@@ -465,7 +465,7 @@ function html_type_rss() {
  * the user has the password for the post. If not then it will return before
  * displaying.
  *
- * Also uses the function get_post_custom() to get the post's 'enclosure'
+ * Also uses the function get_post_meta(get_the_ID()) to get the post's 'enclosure'
  * metadata field and parses the value to display the enclosure(s). The
  * enclosure(s) consist of enclosure HTML tag(s) with a URI and other
  * attributes.
@@ -477,7 +477,7 @@ function rss_enclosure() {
 		return;
 	}
 
-	foreach ( (array) get_post_custom() as $key => $val ) {
+	foreach ( (array) get_post_meta(get_the_ID()) as $key => $val ) {
 		if ( 'enclosure' === $key ) {
 			foreach ( (array) $val as $enc ) {
 				$enclosure = explode( "\n", $enc );
@@ -510,7 +510,7 @@ function rss_enclosure() {
  * the user has the password for the post. If not then it will return before
  * displaying.
  *
- * Also uses the function get_post_custom() to get the post's 'enclosure'
+ * Also uses the function get_post_meta(get_the_ID()) to get the post's 'enclosure'
  * metadata field and parses the value to display the enclosure(s). The
  * enclosure(s) consist of link HTML tag(s) with a URI and other attributes.
  *
@@ -521,7 +521,7 @@ function atom_enclosure() {
 		return;
 	}
 
-	foreach ( (array) get_post_custom() as $key => $val ) {
+	foreach ( (array) get_post_meta(get_the_ID()) as $key => $val ) {
 		if ( 'enclosure' === $key ) {
 			foreach ( (array) $val as $enc ) {
 				$enclosure = explode( "\n", $enc );
diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php
index 4f3bfbef0c..bba230247a 100644
--- a/src/wp-includes/post-template.php
+++ b/src/wp-includes/post-template.php
@@ -1097,7 +1097,7 @@ function _wp_link_page( $i ) {
  *                            False if the key does not exist.
  */
 function post_custom( $key = '' ) {
-	$custom = get_post_custom();
+	$custom = get_post_meta(get_the_ID());
 
 	if ( ! isset( $custom[ $key ] ) ) {
 		return false;
diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php
index eb90e762f5..704465ef6e 100644
--- a/src/wp-includes/post.php
+++ b/src/wp-includes/post.php
@@ -2756,7 +2756,7 @@ function get_post_custom_values( $key = '', $post_id = 0 ) {
 		return null;
 	}
 
-	$custom = get_post_custom( $post_id );
+	$custom = get_post_meta( absint($post_id ));
 
 	return isset( $custom[ $key ] ) ? $custom[ $key ] : null;
 }
@@ -5840,7 +5840,7 @@ function add_ping( $post, $uri ) {
  * @return string[] Array of enclosures for the given post.
  */
 function get_enclosed( $post_id ) {
-	$custom_fields = get_post_custom( $post_id );
+	$custom_fields = get_post_meta( absint($post_id) );
 	$pung          = array();
 	if ( ! is_array( $custom_fields ) ) {
 		return $pung;
