Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

#3011 closed defect (bug) (fixed)

Documentation Bug in /bp-core/bp-core-templatetags.php

Reported by: LanceHudson Owned by:
Milestone: 1.5 Priority: trivial
Severity: Version: 1.2.6
Component: Core Keywords:
Cc:

Description

The function bp_get_displayed_user_nav description says it uses the $bp->bp_users_nav global. Unless I am missing something it actually uses the $bp->bp_nav global. trunk/bp-core/bp-core-templatetags.php@3728#L539

Attachments (1)

incorrect-global-in-doc-3728.patch (526 bytes) - added by LanceHudson 11 years ago.

Download all attachments as: .zip

Change History (3)

#1 @DJPaul
11 years ago

  • Milestone changed from Awaiting Review to 1.3
  • Priority changed from normal to trivial

True. $bp->bp_users_nav was only used in BP 1.0. Function needs a bit of a rewrite in general terms, but I'll put this patch in.

#2 @djpaul
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3730]) Correct phpdoc for bp_get_displayed_user_nav(). Fixes #3011, props LanceHudson

Note: See TracTickets for help on using tickets.