From a7e2ac2fec63cca66a8407a0de2dce55557d8108 Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 3 May 2010 19:33:23 +0000 Subject: [PATCH] Remove unused vars. props TobiasBg. fixes #13228. git-svn-id: http://svn.automattic.com/wordpress/trunk@14393 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index 6adec3426..081b391b7 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -229,7 +229,7 @@ function _check_theme_deprecated_files() { $files[] = 'sidebar.php'; // Only notify if both are missing as you can use one or the other - if ( ! ( $comment = locate_template( array( 'comments.php' ) ) ) && ! ( $comment_popup = locate_template( array( 'comments-popup.php' ) ) ) ) { + if ( ! locate_template( array( 'comments.php' ) ) && ! locate_template( array( 'comments-popup.php' ) ) ) { $files[] = 'comments.php'; $files[] = 'comments-popup.php'; }