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

    r13447 r13504  
    689689        }
    690690
    691         /*
    692          * If we have a arg value for $button_element passed through
    693          * use it to default all the $buttons['button_element'] values
    694          * otherwise default to 'a' (anchor) o override & hardcode the
    695          * 'element' string on $buttons array.
    696          *
    697          * Icons sets a class for icon display if not using the button element
    698          */
    699         $icons = '';
    700691        if ( ! empty( $args['button_element'] ) ) {
    701692            $button_element = $args['button_element'] ;
    702693        } else {
    703694            $button_element = 'a';
    704             $icons = ' icons';
    705695        }
    706696
Note: See TracChangeset for help on using the changeset viewer.