Changeset 17224
- Timestamp:
- 01/05/2011 10:26:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r17197 r17224 529 529 if ( !empty($format) ) { 530 530 $format = sanitize_key($format); 531 $empty_formats = array( 'post', 'standard' ); 532 if ( in_array( $format, $empty_formats ) ) 531 if ( 'standard' == $format || !in_array( $format, array_keys( get_post_format_slugs() ) ) ) 533 532 $format = ''; 534 533 else
Note: See TracChangeset
for help on using the changeset viewer.