Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/08/2015 10:28:43 PM (10 years ago)
Author:
djpaul
Message:

Remove some of our unused/dead variable assignments.

Identified by scrutinizer-ci.com; https://scrutinizer-ci.com/g/buddypress/BuddyPress/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-filters.php

    r9315 r9318  
    560560    // We use information stored in the CSS class to determine what kind of
    561561    // menu item this is, and how it should be treated
    562     $css_target = preg_match( '/\sbp-(.*)-nav/', implode( ' ', $menu_item->classes), $matches );
     562    preg_match( '/\sbp-(.*)-nav/', implode( ' ', $menu_item->classes), $matches );
    563563
    564564    // If this isn't a BP menu item, we can stop here
Note: See TracChangeset for help on using the changeset viewer.