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/category.php

    r8451 r9175  
    4343                    <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php echo esc_attr( sprintf(__('Permanent Link to %s', ''), get_the_title() ) ); ?>" >
    4444                        <span class="video-thumbnail">
    45                             <img src="<?php $wptv->the_video( true, true ); ?>" />
     45                            <?php $wptv->the_video_image( 50, null, false ); ?>
    4646                        </span>
    4747                        <span class="video-title"><?php the_title(); ?></span>
Note: See TracChangeset for help on using the changeset viewer.