diff --git wp-includes/theme.php wp-includes/theme.php
index 9d2f905..46c1cf1 100644
|
|
|
function add_theme_support( $feature ) { |
| 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 ( $feature == 'post-formats' && is_array( $_wp_theme_features[$feature][0] ) ) |
| | 1759 | $_wp_theme_features[$feature][0] = array_intersect( $_wp_theme_features[$feature][0], array_keys( get_post_format_slugs() ) ); |
| 1757 | 1760 | } |
| 1758 | 1761 | |
| 1759 | 1762 | /** |