Themes without Options when being activated hide all other Theme screenshots.
|Reported by:||sterlo||Owned by:||nacin|
This is caused by some IF logic being slightly off.
It's just excluding the closing DIV for themes without options.
Problem is apparent if you created a theme with a minimal stylesheet and empty index.php file and then activated it. You should see all the default WordPress themes have their thumbnails hidden.
The commit that introduced the issue:
Here's the DIFF of the fix:
diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 5e83da8..5b56fd7 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -198,9 +198,9 @@ $customize_title = sprintf( __( 'Customize “%s”' ), $ct->display('Na <li><?php echo $option; ?></li> <?php endforeach; ?> </ul> + <?php endif; // options ?> </div> <?php - endif; // options endif; // options || edit_theme_options ?>
I don't think a patch is needed.