Add the_permalink filter. Bug 693. Props: morganiq

git-svn-id: https://develop.svn.wordpress.org/trunk@2094 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-01-14 23:43:20 +00:00
parent 9e2a26f943
commit 04b4729e6e
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
<?php <?php
function the_permalink() { function the_permalink() {
echo get_permalink(); echo apply_filters('the_permalink', get_permalink());
} }
function permalink_link() { // For backwards compatibility function permalink_link() { // For backwards compatibility
echo get_permalink(); echo apply_filters('the_permalink', get_permalink());
} }
function permalink_anchor($mode = 'id') { function permalink_anchor($mode = 'id') {