Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#13933 closed defect (bug) (fixed)

Remove dead $current_user declaration

Reported by: filosofo Owned by: filosofo
Milestone: 3.0.1 Priority: normal
Severity: normal Version: 3.0
Component: Users Keywords: has-patch
Focuses: Cc:


Currently, the code declares $current_user as a global, but doesn't use it (no files from that point are included, either).

Attachments (1)

dead-current_user-code.13933.diff (472 bytes) - added by filosofo 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @filosofo
5 years ago

  • Owner set to filosofo
  • Status changed from new to accepted

#2 @ryan
5 years ago

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

(In [15313]) Remove unused global. Props filosofo. fixes #13933 for 3.1

#3 @ryan
5 years ago

(In [15314]) Remove unused global. Props filosofo. fixes #13933 for 3.0.1

Note: See TracTickets for help on using tickets.