Thankfully Preview Theme mode shows the problem, so I don’t have to change active theme and break the site again in order to troubleshoot.

-
This reply was modified 9 years, 9 months ago by maphewyk.
The function surrounding theme.php line 1557 $args[0] = array_unique(...:
switch ( $feature ) {
case 'post-thumbnails':
// All post types are already supported.
if ( true === get_theme_support( 'post-thumbnails' ) ) {
return;
}
/*
* Merge post types with any that already declared their support
* for post thumbnails.
*/
if ( is_array( $args[0] ) && isset( $_wp_theme_features['post-thumbnails'] ) ) {
$args[0] = array_unique( array_merge( $_wp_theme_features['post-thumbnails'][0], $args[0] ) );
}
break;
-
This reply was modified 9 years, 9 months ago by maphewyk.