Index: wp-includes/link-template.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- wp-includes/link-template.php	(revision 24067)
+++ wp-includes/link-template.php	(revision )
@@ -72,12 +72,27 @@
  * Retrieve full permalink for current post or post ID.
  *
  * @since 1.0.0
+ * @deprecated 3.6.0
+ * @deprecated Use get_the_permalink()
  *
  * @param int $id Optional. Post ID.
  * @param bool $leavename Optional, defaults to false. Whether to keep post name or page name.
  * @return string
  */
 function get_permalink( $id = 0, $leavename = false ) {
+	return get_the_permalink( $id, $leavename );
+}
+
+/**
+ * Retrieve full permalink for current post or post ID.
+ *
+ * @since 3.6.0
+ *
+ * @param int $id Optional. Post ID.
+ * @param bool $leavename Optional, defaults to false. Whether to keep post name or page name.
+ * @return string
+ */
+function get_the_permalink( $id = 0, $leavename = false ) {
 	$rewritecode = array(
 		'%year%',
 		'%monthnum%',
