[buddypress-trac] [BuddyPress Trac] #6664: Undefined index: position in buddybar
buddypress-trac
noreply at wordpress.org
Wed Oct 14 15:06:34 UTC 2015
#6664: Undefined index: position in buddybar
----------------------------------------+---------------------------
Reporter: danbp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: General - Toolbar/BuddyBar | Version: 2.3.3
Severity: minor | Keywords: needs-testing
----------------------------------------+---------------------------
BP 2.3.4
When not logged in, a notice comes up about
{{{Undefined index: position in ../bp-core-buddybar.php}}} on line 472 and
477
A check is missing in {{{bp_core_sort_subnav_items}}} fn.
Adding
{{{if ( isset($subnav_item['position']) && isset( $temp['position'] ) )
{}}}
line 466 and closing it line 483 solved the issue.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6664>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list