Making WordPress.org


Ignore:
Timestamp:
01/20/2016 12:24:06 AM (10 years ago)
Author:
samuelsidler
Message:

WordPress.tv: Remove duplicate title attributes in video titles

Props SergeyBiryukov.
Fixes #1475.

File:
1 edited

Legend:

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

    r1024 r2334  
    2525                <?php $wptv->the_video(); ?>
    2626                <h3>
    27                     <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>" class="video-title"><?php the_title(); ?></a>
     27                    <a href="<?php the_permalink() ?>" rel="bookmark" class="video-title"><?php the_title(); ?></a>
    2828                    <?php $wptv->the_event( '<strong class="video-event">', '</strong>' ); ?>
    2929                </h3>
     
    3636                <?php while ( $featured->have_posts() ) : $featured->the_post(); ?>
    3737                <li class="group">
    38                     <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>" >
     38                    <a href="<?php the_permalink() ?>" rel="bookmark">
    3939                        <span class="video-thumbnail">
    4040                            <img src="<?php $wptv->the_video( true, true ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.