diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index 2c602d2b46..44a1f629e9 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -208,39 +208,6 @@ function _get_template_edit_filename($fullpath, $containingfolder) { return str_replace(dirname(dirname( $containingfolder )) , '', $fullpath); } -/** - * Check the current theme for reliance on deprecated theme compatibility - * - * Check to see if the current theme has all the required templates available - * from itself or its parent - - * @since 3.0 - * @access private - * @return nothing - */ -function _check_theme_deprecated_files() { - $files = array( ); - - if ( ! locate_template( array( 'header.php' ) ) ) - $files[] = 'header.php'; - if ( ! locate_template( array( 'footer.php' ) ) ) - $files[] = 'footer.php'; - if ( ! locate_template( array( 'sidebar.php' ) ) ) - $files[] = 'sidebar.php'; - - // Only notify if both are missing as you can use one or the other - if ( ! locate_template( array( 'comments.php' ) ) && ! locate_template( array( 'comments-popup.php' ) ) ) { - $files[] = 'comments.php'; - $files[] = 'comments-popup.php'; - } - - if ( ! empty( $files ) ) : ?> -
- -