mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00:00
Add the_permalink filter. Bug 693. Props: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
46678cd884
commit
83c5911d69
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user