Making WordPress.org


Ignore:
Timestamp:
10/14/2019 01:24:16 AM (5 years ago)
Author:
dd32
Message:

WordPress.TV: Switch to using $wptv->the_video_image() for thumbnails, deprecating the thumbnail code in $wptv->the_video() which was no longer working.

Fixes #4761.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/front-page.php

    r8876 r9175  
    5252                    <a href="<?php the_permalink(); ?>" rel="bookmark">
    5353                        <span class="video-thumbnail">
    54                             <img src="<?php $wptv->the_video( true, true ); ?>" />
     54                            <?php $wptv->the_video_image( 50, null, false ); ?>
    5555                        </span>
    5656                        <span class="video-title"><?php the_title(); ?></span>
Note: See TracChangeset for help on using the changeset viewer.