Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#13228 closed enhancement (fixed)

minor cleanup for [14369]

Reported by: tobiasbg's profile TobiasBg Owned by: westi's profile westi
Milestone: 3.0 Priority: lowest
Severity: trivial Version:
Component: Themes Keywords: has-patch commit
Focuses: Cc:


westi's recent [14369] contains some variable assignments inside an if-clause that are unnecessary. The variables are not used later in the function and in equivalent if-checks a few lines higher, there are no such assignments.

I guess it was just some left-over stuff from a different coding approach.

Attached patch removes them.

Attachments (1)

14369.cleanup.patch (653 bytes) - added by TobiasBg 14 years ago.
Patch to remove unnecessary variable assignments

Download all attachments as: .zip

Change History (2)

14 years ago

Patch to remove unnecessary variable assignments

#1 @nacin
14 years ago

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

(In [14393]) Remove unused vars. props TobiasBg. fixes #13228.

Note: See TracTickets for help on using tickets.