WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 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:

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 5 years ago.

Download all attachments as: .zip

Change History (2)

alexrabe5 years ago

comment:1 ryan5 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.