Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#3011 closed defect (bug) (fixed)

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

Reported by: LanceHudson Owned by:
Priority: trivial Milestone: 1.5
Component: Core Version: 1.2.6
Severity: 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 15 years ago.

Download all attachments as: .zip

Change History (3)

#1 @DJPaul
15 years ago

  • Milestone Awaiting Review1.3
  • Priority normaltrivial

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
15 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.