From 2f0d602eeb8326a432c03ff175d99688a9fa7b10 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 3 May 2010 19:33:23 +0000 Subject: [PATCH] Remove unused vars. props TobiasBg. fixes #13228. git-svn-id: https://develop.svn.wordpress.org/trunk@14393 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 6adec34269..081b391b7b 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'; }