Ticket #28327: 28327.diff
File 28327.diff, 697 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/edit-form-advanced.php
176 176 if ( post_type_supports($post_type, 'page-attributes') ) 177 177 add_meta_box('pageparentdiv', 'page' == $post_type ? __('Page Attributes') : __('Attributes'), 'page_attributes_meta_box', null, 'side', 'core'); 178 178 179 if ( $thumbnail_support )179 if ( $thumbnail_support && current_user_can( 'upload_files' ) ) 180 180 add_meta_box('postimagediv', __('Featured Image'), 'post_thumbnail_meta_box', null, 'side', 'low'); 181 181 182 182 if ( post_type_supports($post_type, 'excerpt') )