Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/06/2013 10:46:43 PM (13 years ago)
Author:
boonebgorges
Message:

Introduces bp_activity_comment_permalink() and implements in comment template

ID anchors have always been available for the purpose of linking directly to
specific activity comments. But these links have never been available directly
in the interface: the timestamp of specific comments lead to the parent thread,
instead of to the specific comment within that thread. This changeset will make
it easier to find the permalink of specific comments.

Fixes #4741

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/activity/comment.php

    r6683 r7168  
    2828        <?php
    2929        /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: activity timestamp */
    30         printf( __( '<a href="%1$s">%2$s</a> replied <a href="%3$s" class="activity-time-since"><span class="time-since">%4$s</span></a>', 'buddypress' ), bp_get_activity_comment_user_link(), bp_get_activity_comment_name(), bp_get_activity_thread_permalink(), bp_get_activity_comment_date_recorded() );
     30        printf( __( '<a href="%1$s">%2$s</a> replied <a href="%3$s" class="activity-time-since"><span class="time-since">%4$s</span></a>', 'buddypress' ), bp_get_activity_comment_user_link(), bp_get_activity_comment_name(), bp_get_activity_comment_permalink(), bp_get_activity_comment_date_recorded() );
    3131        ?>
    3232    </div>
Note: See TracChangeset for help on using the changeset viewer.