Changeset 30038
- Timestamp:
- 10/27/2014 11:25:31 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r29903 r30038 1473 1473 switch ( $feature ) { 1474 1474 case 'post-formats' : 1475 if ( is_array( $args[0] ) ) 1476 $args[0] = array_intersect( $args[0], array_keys( get_post_format_slugs() ) ); 1475 if ( is_array( $args[0] ) ) { 1476 $post_formats = get_post_format_slugs(); 1477 unset( $post_formats['standard'] ); 1478 1479 $args[0] = array_intersect( $args[0], array_keys( $post_formats ) ); 1480 } 1477 1481 break; 1478 1482
Note: See TracChangeset
for help on using the changeset viewer.