Changeset 4233
- Timestamp:
- 09/25/06 02:16:18 (2 years ago)
- Files:
-
- branches/2.0/wp-includes/functions-formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.0/wp-includes/functions-formatting.php
r4052 r4233 592 592 593 593 function wp_rel_nofollow( $text ) { 594 $text = preg_replace('|<a (.+?)>|i ', '<a $1 rel="nofollow">', $text);594 $text = preg_replace('|<a (.+?)>|ie', "'<a ' . str_replace(' rel=\"nofollow\"','',stripslashes('$1')) . ' rel=\"nofollow\">'", $text); 595 595 return $text; 596 596 }
