Making WordPress.org


Ignore:
Timestamp:
10/14/2019 01:24:16 AM (7 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/category-wordcamptv.php

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