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/members/template-tags.php

    r13447 r13504  
    248248        }
    249249
    250         /*
    251          * If we have a arg value for $button_element passed through
    252          * use it to default all the $buttons['button_element'] values
    253          * otherwise default to 'a' (anchor)
    254          * Or override & hardcode the 'element' string on $buttons array.
    255          *
    256          * Icons sets a class for icon display if not using the button element
    257          */
    258         $icons = '';
    259250        if ( ! empty( $args['button_element'] ) ) {
    260251            $button_element = $args['button_element'] ;
    261252        } else {
    262253            $button_element = 'button';
    263             $icons = ' icons';
    264254        }
    265255
Note: See TracChangeset for help on using the changeset viewer.