WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#13228 closed enhancement (fixed)

minor cleanup for [14369]

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

Description

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 9 years ago.
Patch to remove unnecessary variable assignments

Download all attachments as: .zip

Change History (2)

@TobiasBg
9 years ago

Patch to remove unnecessary variable assignments

#1 @nacin
9 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.