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/templates/default/bbpress/loop-search-topic.php

    r4783 r4948  
    1616                <span class="bbp-topic-post-date"><?php bbp_topic_post_date( bbp_get_topic_id() ); ?></span>
    1717
    18                 <a href="<?php bbp_topic_permalink(); ?>" title="<?php bbp_topic_title(); ?>" class="bbp-topic-permalink">#<?php bbp_topic_id(); ?></a>
     18                <a href="<?php bbp_topic_permalink(); ?>" class="bbp-topic-permalink">#<?php bbp_topic_id(); ?></a>
    1919
    2020                <?php do_action( 'bbp_theme_before_topic_admin_links' ); ?>
    … …  
    3131
    3232                <h3><?php _e( 'Topic: ', 'bbpress' ); ?>
    33                 <a href="<?php bbp_topic_permalink(); ?>" title="<?php bbp_topic_title(); ?>"><?php bbp_topic_title(); ?></a></h3>
     33                <a href="<?php bbp_topic_permalink(); ?>"><?php bbp_topic_title(); ?></a></h3>
    3434
    3535                <div class="bbp-topic-title-meta">
    … …  
    4545                        <?php endif; ?>
    4646
    47                         <a href="<?php bbp_forum_permalink( bbp_get_topic_forum_id() ); ?>" title="<?php bbp_forum_title( bbp_get_topic_forum_id() ); ?>"><?php bbp_forum_title( bbp_get_topic_forum_id() ); ?></a>
     47                        <a href="<?php bbp_forum_permalink( bbp_get_topic_forum_id() ); ?>"><?php bbp_forum_title( bbp_get_topic_forum_id() ); ?></a>
    4848
    4949                </div><!-- .bbp-topic-title-meta -->
Note: See TracChangeset for help on using the changeset viewer.