Ticket #16073: 16073.patch
| File 16073.patch, 592 bytes (added by SergeyBiryukov, 2 years ago) |
|---|
-
wp-includes/theme.php
1754 1754 $_wp_theme_features[$feature] = true; 1755 1755 else 1756 1756 $_wp_theme_features[$feature] = array_slice( func_get_args(), 1 ); 1757 1758 if ( 'post-formats' == $feature && is_array( $_wp_theme_features[$feature][0] ) ) { 1759 foreach ( array_keys( array_diff( $_wp_theme_features[$feature][0], get_post_format_slugs() ) ) as $key ) 1760 unset( $_wp_theme_features[$feature][0][$key] ); 1761 } 1757 1762 } 1758 1763 1759 1764 /**
