Changeset 3021616
- Timestamp:
- 01/14/2024 06:55:47 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
featured-image-admin-thumb-fiat/trunk/admin/class-featured-image-admin-thumb-admin.php
r2506825 r3021616 117 117 public function fiat_init_columns() { 118 118 119 $available_post_types = array_ diff( get_post_types(), apply_filters( 'fiat/restrict_post_types', $this->default_excluded_post_types) );119 $available_post_types = array_keys( array_diff( array_flip ( get_post_types_by_support('thumbnail') ), apply_filters( 'fiat/restrict_post_types', $this->default_excluded_post_types ) ) ); 120 120 121 121 if ( $this->is_edd_active && isset( $available_post_types['download'] ) ) { … … 281 281 if ( isset( $_POST['thumbnail_id'] ) && ! empty( $_POST['thumbnail_id'] ) ) { 282 282 $thumbnail_id = intval( $_POST['thumbnail_id'] ); 283 $thumb_url = get_image_tag( $thumbnail_id, '', '', '', $this->fiat_image_size);283 $thumb_url = get_image_tag( $thumbnail_id, '', '', '', array( 60, 60 ) ); 284 284 $html = sprintf( 285 285 $this->template_html,
Note: See TracChangeset
for help on using the changeset viewer.