Changeset 1404 for trunk/wp-includes/functions-formatting.php
- Timestamp:
- 06/10/2004 10:01:45 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions-formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-formatting.php
r1372 r1404 446 446 } 447 447 448 function popuplinks($text) { 449 // Comment text in popup windows should be filtered through this. 450 // Right now it's a moderately dumb function, ideally it would detect whether 451 // a target or rel attribute was already there and adjust its actions accordingly. 452 $text = preg_replace('/<a (.+?)>/i', "<a $1 target='_blank' rel='external'>", $text); 453 return $text; 454 } 455 448 456 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)