Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/27/2013 05:24:41 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Audit title attributes, and remove instances where they would match template-tag contents. Fixes #2318.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/common/widgets.php

    r4923 r4948  
    296296                        <?php foreach ( array_keys( bbp_get_views() ) as $view ) : ?>
    297297
    298                                 <li><a class="bbp-view-title" href="<?php bbp_view_url( $view ); ?>" title="<?php bbp_view_title( $view ); ?>"><?php bbp_view_title( $view ); ?></a></li>
     298                                <li><a class="bbp-view-title" href="<?php bbp_view_url( $view ); ?>"><?php bbp_view_title( $view ); ?></a></li>
    299299
    300300                        <?php endforeach; ?>
    … …  
    580580                        <?php while ( $widget_query->have_posts() ) : $widget_query->the_post(); ?>
    581581
    582                                 <li><a class="bbp-forum-title" href="<?php bbp_forum_permalink( $widget_query->post->ID ); ?>" title="<?php bbp_forum_title( $widget_query->post->ID ); ?>"><?php bbp_forum_title( $widget_query->post->ID ); ?></a></li>
     582                                <li><a class="bbp-forum-title" href="<?php bbp_forum_permalink( $widget_query->post->ID ); ?>"><?php bbp_forum_title( $widget_query->post->ID ); ?></a></li>
    583583
    584584                        <?php endwhile; ?>
    … …  
    805805
    806806                                <li>
    807                                         <a class="bbp-forum-title" href="<?php echo esc_url( bbp_get_topic_permalink( $topic_id ) ); ?>" title="<?php echo esc_attr( bbp_get_topic_title( $topic_id ) ); ?>"><?php bbp_topic_title( $topic_id ); ?></a>
     807                                        <a class="bbp-forum-title" href="<?php echo esc_url( bbp_get_topic_permalink( $topic_id ) ); ?>"><?php bbp_topic_title( $topic_id ); ?></a>
    808808
    809809                                        <?php if ( ! empty( $author_link ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.