mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
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:
parent
0617eb51d0
commit
6a41f63aae
@ -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
Block a user