Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/29/2011 09:41:36 PM (15 years ago)
Author:
boonebgorges
Message:

Ensures links are constructed with trailing slash in activity component. See #3779

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-akismet.php

    r5327 r5414  
    175175                                'id'         => 'activity_make_spam_' . bp_get_activity_id(),
    176176                                'link_class' => 'bp-secondary-action spam-activity confirm button item-button',
    177                                 'link_href'  => wp_nonce_url( bp_get_root_domain() . '/' . bp_get_activity_slug() . '/spam/' . bp_get_activity_id(), 'bp_activity_akismet_spam_' . bp_get_activity_id() ),
     177                                'link_href'  => wp_nonce_url( bp_get_root_domain() . '/' . bp_get_activity_slug() . '/spam/' . bp_get_activity_id() . '/', 'bp_activity_akismet_spam_' . bp_get_activity_id() ),
    178178                                'link_text'  => __( 'Spam', 'buddypress' ),
    179179                                'wrapper'    => false,
     
    204204                                'id'         => 'activity_make_spam_' . bp_get_activity_comment_id(),
    205205                                'link_class' => 'bp-secondary-action spam-activity-comment confirm',
    206                                 'link_href'  => wp_nonce_url( bp_get_root_domain() . '/' . bp_get_activity_slug() . '/spam/' . bp_get_activity_comment_id() . '?cid=' . bp_get_activity_comment_id(), 'bp_activity_akismet_spam_' . bp_get_activity_comment_id() ),
     206                                'link_href'  => wp_nonce_url( bp_get_root_domain() . '/' . bp_get_activity_slug() . '/spam/' . bp_get_activity_comment_id() . '/?cid=' . bp_get_activity_comment_id(), 'bp_activity_akismet_spam_' . bp_get_activity_comment_id() ),
    207207                                'link_text'  => __( 'Spam', 'buddypress' ),
    208208                                'wrapper'    => false,
Note: See TracChangeset for help on using the changeset viewer.