Changeset 11170
- Timestamp:
- 05/04/2009 09:33:58 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/misc.php
r11168 r11170 371 371 } 372 372 } 373 374 375 /** 376 * Strip close comment and close php tags from file headers used by WP 377 * See http://core.trac.wordpress.org/ticket/8497 378 * 379 * @since 2.8 380 **/ 381 function _cleanup_header_comment($str) { 382 return trim(preg_replace("/\s*(?:\*\/|\?>).*/", '', $str)); 383 } 384 373 ?> -
trunk/wp-includes/functions.php
r11118 r11170 3148 3148 3149 3149 3150 3151 /** 3152 * Strip close comment and close php tags from file headers used by WP 3153 * See http://core.trac.wordpress.org/ticket/8497 3154 * 3155 * @since 2.8 3156 **/ 3157 function _cleanup_header_comment($str) { 3158 return trim(preg_replace("/\s*(?:\*\/|\?>).*/", '', $str)); 3159 } 3150 3160 ?>
Note: See TracChangeset
for help on using the changeset viewer.