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