Skip to:
Content

bbPress.org

Changeset 5071


Ignore:
Timestamp:
08/14/2013 09:48:35 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Rename link class to match function and output, and remove some duplicate escapings. See #2090.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/replies/template.php

    r5070 r5071  
    20912091        ), bbp_get_reply_edit_url( $reply_id ) );
    20922092
    2093         $retval = $r['link_before'] . '<a href="' . esc_url( $uri ) . '" title="' . $r['split_title'] . '" class="bbp-reply-spam-link">' . $r['split_text'] . '</a>' . $r['link_after'];
     2093        $retval = $r['link_before'] . '<a href="' . esc_url( $uri ) . '" title="' . $r['split_title'] . '" class="bbp-reply-move-link">' . $r['split_text'] . '</a>' . $r['link_after'];
    20942094
    20952095        return apply_filters( 'bbp_get_reply_move_link', $retval, $r );
     
    21582158        ), bbp_get_topic_edit_url( $topic_id ) );
    21592159
    2160         $retval = $r['link_before'] . '<a href="' . esc_url( $uri ) . '" title="' . esc_attr( $r['split_title'] ) . '" class="bbp-reply-split-link">' . esc_html( $r['split_text'] ) . '</a>' . $r['link_after'];
     2160        $retval = $r['link_before'] . '<a href="' . esc_url( $uri ) . '" title="' . $r['split_title'] . '" class="bbp-topic-split-link">' . $r['split_text'] . '</a>' . $r['link_after'];
    21612161
    21622162        return apply_filters( 'bbp_get_topic_split_link', $retval, $r );
Note: See TracChangeset for help on using the changeset viewer.