mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 15:47:38 +02: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
|
<?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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user