Changeset 473742
- Timestamp:
- 12/12/2011 05:54:06 AM (14 years ago)
- File:
-
- 1 edited
-
default-thumbnail-plus/trunk/slt-file-select.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
default-thumbnail-plus/trunk/slt-file-select.php
r473736 r473742 60 60 function dtp_slt_fs_button( $name, $value, $label = 'Select file', $preview_size = 'thumbnail', $removable = true) { ?> 61 61 <div class="slt-fs-preview" id="<?php echo esc_attr( $name ); ?>_preview"><?php 62 if ( $value ) {62 if ( $value && wp_get_attachment_url($value) !== FALSE ) { 63 63 if ( wp_attachment_is_image( $value ) ) { 64 64 // Show image preview
Note: See TracChangeset
for help on using the changeset viewer.