Ticket #11611: 11611.2.diff
File 11611.2.diff, 601 bytes (added by , 13 years ago) |
---|
-
wp-includes/theme.php
1938 1938 1939 1939 $args = array_slice( func_get_args(), 1 ); 1940 1940 1941 // @todo Allow pluggable arg checking1942 1941 switch ( $feature ) { 1943 1942 case 'post-thumbnails': 1944 1943 // post-thumbnails can be registered for only certain content/post types by passing … … 1958 1957 break; 1959 1958 } 1960 1959 1961 return true;1960 return apply_filters('current_theme_supports-' . $feature, true, $args, $_wp_theme_features[$feature]); 1962 1961 } 1963 1962 1964 1963 /**