From 6a41f63aaeb78619c4dba40a41ed0c66c21247e6 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Mon, 28 May 2007 04:39:40 +0000 Subject: [PATCH] permalink_link() is deprecated, and should reference its replacement. git-svn-id: http://svn.automattic.com/wordpress/trunk@5569 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 00f2c8053..f585792a2 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 38c0fa415..bc5c2294c 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