Changeset 8382
- Timestamp:
- 07/21/08 00:32:43 (4 months ago)
- Files:
-
- trunk/wp-includes/kses.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/kses.php
r7969 r8382 432 432 if ( $string == '' ) 433 433 return ''; 434 // prevent multiple dashes in comments 435 $string = preg_replace('/--+/', '-', $string); 436 // prevent three dashes closing a comment 437 $string = preg_replace('/-$/', '', $string); 434 438 return "<!--{$string}-->"; 435 439 }
