mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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:
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
function the_permalink() {
|
||||
echo get_permalink();
|
||||
echo apply_filters('the_permalink', get_permalink());
|
||||
}
|
||||
|
||||
function permalink_link() { // For backwards compatibility
|
||||
echo get_permalink();
|
||||
echo apply_filters('the_permalink', get_permalink());
|
||||
}
|
||||
|
||||
function permalink_anchor($mode = 'id') {
|
||||
|
||||
Reference in New Issue
Block a user