Changeset 16196
- Timestamp:
- 11/05/2010 02:04:22 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/meta-boxes.php
r16191 r16196 156 156 157 157 <?php 158 if ( 'post' == $post->post_type && current_theme_supports('post-formats' ) ) :158 if ( current_theme_supports( 'post-formats' ) && post_type_supports( $post->post_type, 'post-formats' ) ) : 159 159 $post_formats = get_theme_support( 'post-formats' ); 160 160 -
trunk/wp-includes/post.php
r16191 r16196 25 25 'rewrite' => false, 26 26 'query_var' => false, 27 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'sticky', 'trackbacks', 'custom-fields', 'comments', 'revisions' ),27 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'sticky', 'trackbacks', 'custom-fields', 'comments', 'revisions', 'post-formats' ), 28 28 ) ); 29 29
Note: See TracChangeset
for help on using the changeset viewer.