Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/19/2023 06:09:44 PM (3 years ago)
Author:
imath
Message:

Core, Messages & Templates: remove never used inited vars in functions

Props upadalavipul

Fixes #8892
Closes https://github.com/buddypress/buddypress/pull/118

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/activity/template-tags.php

    r13436 r13504  
    44 *
    55 * @since 3.0.0
    6  * @version 10.0.0
     6 * @version 12.0.0
    77 */
    88
     
    552552                $data_element = 'href';
    553553            }
    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             );
    562554
    563555            $buttons['activity_spam']['button_attr'][ $data_element ] = wp_nonce_url(
Note: See TracChangeset for help on using the changeset viewer.