Remove unused vars. props TobiasBg. fixes #13228.
git-svn-id: https://develop.svn.wordpress.org/trunk@14393 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
db93b01df3
commit
2f0d602eeb
@ -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
Block a user