Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions video-thumbnails.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ function meta_box() {
if ( isset( $video_thumbnail ) && $video_thumbnail != '' ) {
echo '<p><a href="#" id="video-thumbnails-reset" onclick="video_thumbnails_reset(\'' . $post->ID . '\' );return false;">' . __( 'Reset Video Thumbnail', 'video-thumbnails' ) . '</a></p>';
} else {
echo '<p>' . __( 'A video thumbnail will be found for this post when it is published.', 'video-thumbnails' ) . '</p>';
echo '<p id="video-thumbnails-preview">' . __( 'A video thumbnail will be found for this post when it is published.', 'video-thumbnails' ) . '</p>';
echo '<p><a href="#" id="video-thumbnails-reset" onclick="video_thumbnails_reset(\'' . $post->ID . '\' );return false;">' . __( 'Search Now', 'video-thumbnails' ) . '</a></p>';
}
}
}
Expand Down Expand Up @@ -578,4 +579,4 @@ function video_thumbnail( $post_id = null ) {
else { echo $video_thumbnail; }
}

?>
?>