Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#9617 closed defect (bug) (fixed)

Avoid redeclare of get_user_by()

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


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

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

7 years ago

#1 @ryan
7 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.