WordPress.org

Making WordPress.org

Changeset 2334


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

WordPress.tv: Remove duplicate title attributes in video titles

Props SergeyBiryukov.
Fixes #1475.

Location:
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2
Files:
2 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 ); ?>" />
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/front-page.php

    r1557 r2334  
    2323            <?php $wptv->the_video(); ?>
    2424            <h3>
    25                 <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>" class="video-title"><?php the_title(); ?></a>
     25                <a href="<?php the_permalink() ?>" rel="bookmark" class="video-title"><?php the_title(); ?></a>
    2626                <?php $wptv->the_event( '<strong class="video-event">', '</strong>' ); ?>
    2727            </h3>
     
    4848
    4949                <li class="group">
    50                     <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>" >
     50                    <a href="<?php the_permalink(); ?>" rel="bookmark">
    5151                        <span class="video-thumbnail">
    5252                            <img src="<?php $wptv->the_video( true, true ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.