From d91468ae89beb9e68701debc0d7161628ad86b85 Mon Sep 17 00:00:00 2001 From: Kit Westneat Date: Mon, 22 Dec 2014 11:55:10 -0500 Subject: [PATCH] Added link to unpublished posts to manually trigger thumbnail scan --- video-thumbnails.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/video-thumbnails.php b/video-thumbnails.php index 7190138..c1d5b63 100755 --- a/video-thumbnails.php +++ b/video-thumbnails.php @@ -164,7 +164,8 @@ function meta_box() { if ( isset( $video_thumbnail ) && $video_thumbnail != '' ) { echo '

' . __( 'Reset Video Thumbnail', 'video-thumbnails' ) . '

'; } else { - echo '

' . __( 'A video thumbnail will be found for this post when it is published.', 'video-thumbnails' ) . '

'; + echo '

' . __( 'A video thumbnail will be found for this post when it is published.', 'video-thumbnails' ) . '

'; + echo '

' . __( 'Search Now', 'video-thumbnails' ) . '

'; } } } @@ -578,4 +579,4 @@ function video_thumbnail( $post_id = null ) { else { echo $video_thumbnail; } } -?> \ No newline at end of file +?>