This is used more than I thought in templates.

git-svn-id: https://develop.svn.wordpress.org/trunk@1305 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-05-18 08:36:53 +00:00
parent b14b19b3ff
commit 4ee5c8aefc
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,10 @@ function the_permalink() {
echo get_permalink(); echo get_permalink();
} }
function permalink_link() { // For backwards compatibility
echo get_permalink();
}
function permalink_anchor($mode = 'id') { function permalink_anchor($mode = 'id') {
global $id, $post; global $id, $post;
switch(strtolower($mode)) { switch(strtolower($mode)) {