Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#13933 closed defect (bug) (fixed)

Remove dead $current_user declaration

Reported by: filosofo's profile filosofo Owned by: filosofo's profile 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 13 years ago.

Download all attachments as: .zip

Change History (4)

#1 @filosofo
13 years ago

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

#2 @ryan
13 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
13 years ago

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

Note: See TracTickets for help on using tickets.