[wp-cvs] wordpress/wp-includes functions-formatting.php,1.66,1.67
Matthew Mullenweg
saxmatt at users.sourceforge.net
Fri Feb 11 00:55:03 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9027/wp-includes
Modified Files:
functions-formatting.php
Log Message:
When good regex goes bad - http://mosquito.wordpress.org/view.php?id=851
Index: functions-formatting.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-formatting.php,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** functions-formatting.php 7 Feb 2005 07:46:40 -0000 1.66
--- functions-formatting.php 11 Feb 2005 00:55:01 -0000 1.67
***************
*** 490,494 ****
function wp_rel_nofollow( $text ) {
! $text = preg_replace('|<a(.+?)>|i', '<a$1 rel="nofollow">', $text);
return $text;
}
--- 490,494 ----
function wp_rel_nofollow( $text ) {
! $text = preg_replace('|<a (.+?)>|i', '<a $1 rel="nofollow">', $text);
return $text;
}
More information about the cvs
mailing list