Index: wp-includes/post-thumbnail-template.php
===================================================================
--- wp-includes/post-thumbnail-template.php	(revision 20607)
+++ wp-includes/post-thumbnail-template.php	(working copy)
@@ -10,31 +10,6 @@
  */
 
 /**
- * Check if post has an image attached.
- *
- * @since 2.9.0
- *
- * @param int $post_id Optional. Post ID.
- * @return bool Whether post has an image attached.
- */
-function has_post_thumbnail( $post_id = null ) {
-	return (bool) get_post_thumbnail_id( $post_id );
-}
-
-/**
- * Retrieve Post Thumbnail ID.
- *
- * @since 2.9.0
- *
- * @param int $post_id Optional. Post ID.
- * @return int
- */
-function get_post_thumbnail_id( $post_id = null ) {
-	$post_id = ( null === $post_id ) ? get_the_ID() : $post_id;
-	return get_post_meta( $post_id, '_thumbnail_id', true );
-}
-
-/**
  * Display Post Thumbnail.
  *
  * @since 2.9.0
Index: wp-admin/includes/post.php
===================================================================
--- wp-admin/includes/post.php	(revision 20607)
+++ wp-admin/includes/post.php	(working copy)
@@ -1131,6 +1131,31 @@
 }
 
 /**
+ * Check if post has an image attached.
+ *
+ * @since 2.9.0
+ *
+ * @param int $post_id Optional. Post ID.
+ * @return bool Whether post has an image attached.
+ */
+function has_post_thumbnail( $post_id = null ) {
+	return (bool) get_post_thumbnail_id( $post_id );
+}
+
+/**
+ * Retrieve Post Thumbnail ID.
+ *
+ * @since 2.9.0
+ *
+ * @param int $post_id Optional. Post ID.
+ * @return int
+ */
+function get_post_thumbnail_id( $post_id = null ) {
+	$post_id = ( null === $post_id ) ? get_the_ID() : $post_id;
+	return get_post_meta( $post_id, '_thumbnail_id', true );
+}
+
+/**
  * Output HTML for the post thumbnail meta-box.
  *
  * @since 2.9.0
