Skip to:
Content

bbPress.org

Opened 19 years ago

Closed 19 years ago

Last modified 3 years ago

#843 closed defect (bug) (fixed)

typo bug in function bb_cache_users

Reported by: _ck_ Owned by:
Priority: high Milestone: 0.9
Component: Back-end Version: 0.7.2
Severity: normal 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
19 years ago

  • Resolution → fixed
  • Status new → closed

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

Note: See TracTickets for help on using tickets.