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:
parent
6e0db32ccc
commit
4308eff227
|
@ -479,4 +479,9 @@ function get_settings($option) {
|
||||||
return get_option($option);
|
return get_option($option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Use the_permalink().
|
||||||
|
function permalink_link() {
|
||||||
|
the_permalink();
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue