This is used more than I thought in templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
79de611ce9
commit
91d7e604f2
|
@ -4,6 +4,10 @@ function the_permalink() {
|
|||
echo get_permalink();
|
||||
}
|
||||
|
||||
function permalink_link() { // For backwards compatibility
|
||||
echo get_permalink();
|
||||
}
|
||||
|
||||
function permalink_anchor($mode = 'id') {
|
||||
global $id, $post;
|
||||
switch(strtolower($mode)) {
|
||||
|
|
Loading…
Reference in New Issue