Skip to:
Content

BuddyPress.org

Ticket #890: 890-jjj.patch

File 890-jjj.patch, 380 bytes (added by johnjamesjacoby, 15 years ago)

Fix bp_core_remove_nav_item

  • bp-core.php

     
    494494       
    495495        foreach( (array) $bp->bp_users_nav as $item_key => $item_value ) {
    496496                if ( $item_value['name'] == $name ) {
    497                         unset( $bp->bp_nav[$item_key] );
     497                        unset( $bp->bp_users_nav[$item_key] );
    498498                }
    499499        }
    500500}