From cdd52a2071ebc702ace7bcdda24c21ad53fec264 Mon Sep 17 00:00:00 2001 From: westi Date: Mon, 3 May 2010 21:12:23 +0000 Subject: [PATCH] Remove the deprecation message for now as it shows too many false positives. See #13230. git-svn-id: http://svn.automattic.com/wordpress/trunk@14411 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/theme.php | 33 --------------------------------- wp-admin/themes.php | 1 - 2 files changed, 34 deletions(-) diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index 2c602d2b4..44a1f629e 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 ) ) : ?> -

- -

-

name]);