Skip to:
Content

bbPress.org

Opened 18 years ago

Closed 18 years ago

Last modified 2 years ago

#843 closed defect (bug) (fixed)

typo bug in function bb_cache_users

Reported by: _ck_'s profile _ck_ Owned by:
Milestone: 0.9 Priority: high
Severity: normal Version: 0.7.2
Component: Back-end Keywords:
Cc:

Description

There is a typo bug in function bb_cache_users found in bb-includes/functions.php

which has existed since the first public bbPress release.

unset($ids[i]);

should be

unset($ids[$i]);

note the (lack of) $ on the i

This causes the cache to always miss on users since the search value never gets unset.

(Typo may exist in other similar functions, have not checked yet.)

Change History (1)

#1 @sambauers
18 years ago

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

(In [1384]) bb_cahce_users() typo - Fixes #843 - props _ck_

Note: See TracTickets for help on using tickets.