diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index 53e2722f7f..80008cbcad 100644 --- a/wp-admin/includes/misc.php +++ b/wp-admin/includes/misc.php @@ -370,15 +370,4 @@ function wp_menu_unfold() { exit; } } - - -/** - * Strip close comment and close php tags from file headers used by WP - * See http://core.trac.wordpress.org/ticket/8497 - * - * @since 2.8 -**/ -function _cleanup_header_comment($str) { - return trim(preg_replace("/\s*(?:\*\/|\?>).*/", '', $str)); -} - +?> \ No newline at end of file diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 3063487597..e2b6ff93f8 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -3147,4 +3147,14 @@ function wp_timezone_choice($selectedzone) { } + +/** + * Strip close comment and close php tags from file headers used by WP + * See http://core.trac.wordpress.org/ticket/8497 + * + * @since 2.8 +**/ +function _cleanup_header_comment($str) { + return trim(preg_replace("/\s*(?:\*\/|\?>).*/", '', $str)); +} ?>