Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#4888 closed defect (bug) (fixed)

Taxonomy clean_object_term_cache uses undefined var

Reported by: arnee's profile arnee Owned by: arnee's profile arnee
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.3
Component: General Keywords: has-patch
Focuses: Cc:

Description

clean_object_term_cache() uses:

if ( !is_array($ids) )
  $ids = array($ids);

"$ids" is not defined anywhere, but the function has a "$object_ids" parameter which isn't used. Should "$ids" be "$object_ids"?

Attachments (1)

taxonomy.php.diff (684 bytes) - added by arnee 17 years ago.
Replaces $ids with $object_ids

Download all attachments as: .zip

Change History (4)

@arnee
17 years ago

Replaces $ids with $object_ids

#1 @arnee
17 years ago

  • Keywords has-patch added
  • Owner changed from anonymous to arnee
  • Status changed from new to assigned

#2 @markjaquith
17 years ago

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

(In [6007]) Correct variable name in clean_object_term_cache(). props arnee. fixes #4888

#3 @foolswisdom
17 years ago

  • Milestone changed from 2.4 (next) to 2.3
Note: See TracTickets for help on using tickets.