- Timestamp:
- 03/15/2023 08:16:46 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/activity/template-tags.php
r13213 r13436 553 553 } 554 554 555 $spam_link = bp_rewrites_get_url( 556 array( 557 'component_id' => 'activity', 558 'single_item_action' => 'spam', 559 'single_item_action_variables' => array( bp_get_activity_id() ), 560 ) 561 ); 562 555 563 $buttons['activity_spam']['button_attr'][ $data_element ] = wp_nonce_url( 556 bp_get_root_domain() . '/' . bp_nouveau_get_component_slug( 'activity' ) . '/spam/' . $activity_id . '/', 564 bp_rewrites_get_url( 565 array( 566 'component_id' => 'activity', 567 'single_item_action' => 'spam', 568 'single_item_action_variables' => array( $activity_id ), 569 ) 570 ), 557 571 'bp_activity_akismet_spam_' . $activity_id 558 572 ); … … 882 896 883 897 $buttons['activity_comment_spam']['button_attr'][ $data_element ] = wp_nonce_url( 884 bp_get_root_domain() . '/' . bp_nouveau_get_component_slug( 'activity' ) . '/spam/' . $activity_comment_id . '/?cid=' . $activity_comment_id, 898 add_query_arg( 899 'cid', 900 $activity_comment_id, 901 bp_rewrites_get_url( 902 array( 903 'component_id' => 'activity', 904 'single_item_action' => 'spam', 905 'single_item_action_variables' => array( $activity_comment_id ), 906 ) 907 ) 908 ), 885 909 'bp_activity_akismet_spam_' . $activity_comment_id 886 910 );
Note: See TracChangeset
for help on using the changeset viewer.