Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/16/2012 12:30:11 AM (13 years ago)
Author:
johnjamesjacoby
Message:

More redundant URL tweaks

  • Do not include sub_nav slug in $link if it's the default for its parent
  • Add missing priorities to bp_screens actions to ensure adding/removing works correctly
  • Avoid double-negative is_object() checks
  • Add phpdoc header to bp-core-buddybar.php
  • Various code clean-up
  • Debug-notice dodging where missing
  • See #1741
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-template.php

    r5906 r5922  
    745745
    746746    foreach ( (array) $bp->bp_nav as $user_nav_item ) {
    747         if ( !$user_nav_item['show_for_displayed_user'] && !bp_is_my_profile() )
     747        if ( empty( $user_nav_item['show_for_displayed_user'] ) && !bp_is_my_profile() )
    748748            continue;
    749749
Note: See TracChangeset for help on using the changeset viewer.