Making WordPress.org


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

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