Ticket #843 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

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

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

Note: See TracTickets for help on using tickets.