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

git-svn-id: https://develop.svn.wordpress.org/trunk@5569 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2007-05-28 04:39:40 +00:00
parent 6e0db32ccc
commit 4308eff227
2 changed files with 5 additions and 5 deletions

View File

@ -479,4 +479,9 @@ function get_settings($option) {
return get_option($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 * Conditionally adds a trailing slash if the permalink structure
* has a trailing slash, strips the trailing slash if not * has a trailing slash, strips the trailing slash if not