[wp-cvs] wordpress/wp-includes template-functions-links.php, 1.47,
1.48
Ryan Boren
rboren at users.sourceforge.net
Fri Jan 14 23:43:23 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9535
Modified Files:
template-functions-links.php
Log Message:
Add the_permalink filter. Bug 693. Props: morganiq
Index: template-functions-links.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-links.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** template-functions-links.php 7 Jan 2005 22:01:59 -0000 1.47
--- template-functions-links.php 14 Jan 2005 23:43:20 -0000 1.48
***************
*** 2,10 ****
function the_permalink() {
! echo get_permalink();
}
function permalink_link() { // For backwards compatibility
! echo get_permalink();
}
--- 2,10 ----
function the_permalink() {
! echo apply_filters('the_permalink', get_permalink());
}
function permalink_link() { // For backwards compatibility
! echo apply_filters('the_permalink', get_permalink());
}
More information about the cvs
mailing list