From 4308eff227796b6374f70ec5a91fba1d37b0b3ab Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Mon, 28 May 2007 04:39:40 +0000 Subject: [PATCH] permalink_link() is deprecated, and should reference its replacement. git-svn-id: https://develop.svn.wordpress.org/trunk@5569 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/deprecated.php | 5 +++++ wp-includes/link-template.php | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 00f2c80535..f585792a25 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -479,4 +479,9 @@ function get_settings($option) { return get_option($option); } +// Use the_permalink(). +function permalink_link() { + the_permalink(); +} + ?> \ No newline at end of file diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 38c0fa4152..bc5c2294cb 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -6,11 +6,6 @@ function the_permalink() { } -function permalink_link() { // For backwards compatibility - echo apply_filters('the_permalink', get_permalink()); -} - - /** * Conditionally adds a trailing slash if the permalink structure * has a trailing slash, strips the trailing slash if not