Ticket #11611: 11611.diff
File 11611.diff, 730 bytes (added by , 15 years ago) |
---|
-
wp-includes/theme.php
1350 1350 1351 1351 $args = array_slice( func_get_args(), 1 ); 1352 1352 1353 // @todo Allow pluggable arg checking1354 1353 switch ( $feature ) { 1355 1354 case 'post-thumbnails': 1356 1355 // post-thumbnails can be registered for only certain content/post types by passing … … 1364 1363 else 1365 1364 return false; 1366 1365 break; 1366 default: 1367 return apply_filters('current_theme_supports-' . $feature, true, $args, $_wp_theme_features[$feature]); 1367 1368 } 1368 1369 1369 1370 return true; … … 1382 1383 require ( $include ); 1383 1384 } 1384 1385 1385 ?> 1386 ?> 1387 No newline at end of file