Remove unused vars. props TobiasBg. fixes #13228.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1a31d3aff0
commit
a7e2ac2fec
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue