Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#13933 closed defect (bug) (fixed)

Remove dead $current_user declaration

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

Description

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

Download all attachments as: .zip

Change History (4)

#1 @filosofo
16 years ago

  • Owner set to filosofo
  • Status new → accepted

#2 @ryan
16 years ago

  • Resolution → fixed
  • Status accepted → closed

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

#3 @ryan
16 years ago

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

Note: See TracTickets for help on using tickets.