permalink_link() is deprecated, and should reference its replacement.

git-svn-id: http://svn.automattic.com/wordpress/trunk@5569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-05-28 04:39:40 +00:00
parent 0617eb51d0
commit 6a41f63aae
2 changed files with 5 additions and 5 deletions

View File

@ -479,4 +479,9 @@ function get_settings($option) {
return get_option($option);
}
// Use the_permalink().
function permalink_link() {
the_permalink();
}
?>

View File

@ -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