Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#9617 closed defect (bug) (fixed)

Avoid redeclare of get_user_by()

Reported by: alexrabe's profile alexrabe Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

If I not check for function_exists('get_user_by'), I get a php error

Attachments (1)

redeclare.patch (393 bytes) - added by alexrabe 15 years ago.

Download all attachments as: .zip

Change History (2)

@alexrabe
15 years ago

#1 @ryan
15 years ago

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

(In [11033]) Wrap get_user_by() in function_exists check. Props alexrabe. fixes #9617

Note: See TracTickets for help on using tickets.