Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#4947 closed defect (bug) (fixed)

get_categories() does not preverve backward compatibility

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

Description

[5818] adds backward compatibility for category objects and arrays, but it doesn't catch in get_categories(). Annoyingly, references can't work like that in PHP 4 foreach loops.

Patch attached

Attachments (1)

4947.diff (466 bytes) - added by mdawaffe 18 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe
18 years ago

#1 @ryan
18 years ago

Ah, it's a php4 thing. No wonder I couldn't reproduce the prob.

#2 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.