Changeset 27216
- Timestamp:
- 02/20/2014 09:37:57 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r27209 r27216 26 26 27 27 $media_type = false; 28 if ( 'attachment' && $post_ID ) {28 if ( 'attachment' === $post_type && $post_ID ) { 29 29 $post = get_post( $post_ID ); 30 30 $media_type = post_supports_thumbnails( $post );
Note: See TracChangeset
for help on using the changeset viewer.