Index: wp-includes/post-template.php
===================================================================
--- wp-includes/post-template.php	(revision 18753)
+++ wp-includes/post-template.php	(working copy)
@@ -1260,6 +1260,27 @@
 }
 
 /**
+ * Get the specific template name for a page.
+ *
+ * @param string $id The page ID to check. If not provided, will use current page
+ * @return string The specific template name if success, bool False on failure
+ */
+function get_the_page_template( $id = '' ) {
+	if( !is_page() )
+		return false;
+		
+	if( empty( $id ) )
+		$id = get_queried_object_id();
+		
+	$page_template = get_post_meta( $id, '_wp_page_template', true );
+	if( !empty( $page_template ) )
+		return $page_template;
+	else
+		return false;
+} 
+ 
+
+/**
  * Retrieve formatted date timestamp of a revision (linked to that revisions's page).
  *
  * @package WordPress
