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/extend/buddypress/activity.php

    r4881 r4948  
    410410                $topic_title     = get_post_field( 'post_title',   $topic_id, 'raw' );
    411411                $topic_content   = get_post_field( 'post_content', $topic_id, 'raw' );
    412                 $topic_link      = '<a href="' . $topic_permalink . '" title="' . $topic_title . '">' . $topic_title . '</a>';
     412                $topic_link      = '<a href="' . $topic_permalink . '">' . $topic_title . '</a>';
    413413
    414414                // Forum
    415415                $forum_permalink = bbp_get_forum_permalink( $forum_id );
    416416                $forum_title     = get_post_field( 'post_title', $forum_id, 'raw' );
    417                 $forum_link      = '<a href="' . $forum_permalink . '" title="' . $forum_title . '">' . $forum_title . '</a>';
     417                $forum_link      = '<a href="' . $forum_permalink . '">' . $forum_title . '</a>';
    418418
    419419                // Activity action & text
    … …  
    555555                $topic_permalink = bbp_get_topic_permalink( $topic_id );
    556556                $topic_title     = get_post_field( 'post_title', $topic_id, 'raw' );
    557                 $topic_link      = '<a href="' . $topic_permalink . '" title="' . $topic_title . '">' . $topic_title . '</a>';
     557                $topic_link      = '<a href="' . $topic_permalink . '">' . $topic_title . '</a>';
    558558
    559559                // Forum
    560560                $forum_permalink = bbp_get_forum_permalink( $forum_id );
    561561                $forum_title     = get_post_field( 'post_title', $forum_id, 'raw' );
    562                 $forum_link      = '<a href="' . $forum_permalink . '" title="' . $forum_title . '">' . $forum_title . '</a>';
     562                $forum_link      = '<a href="' . $forum_permalink . '">' . $forum_title . '</a>';
    563563
    564564                // Activity action & text
Note: See TracChangeset for help on using the changeset viewer.