WordPress.org

Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 12 years ago

#2455 closed defect (bug) (fixed)

Minor redundancy in template-functions-category.php

Reported by: majelbstoat Owned by: majelbstoat
Milestone: 2.1 Priority: lowest
Severity: trivial Version: 2.0.1
Component: Optimization Keywords: redundant category assignment bg|has-patch
Focuses: Cc:

Description

$category->cat_name = $category->cat_name; on lines 51 and 74 doesn't do anything.

Attachments (1)

minor template-functions-category optimisation.diff (889 bytes) - added by majelbstoat 16 years ago.
Removes two redundant assignments.

Download all attachments as: .zip

Change History (2)

@majelbstoat
16 years ago

Removes two redundant assignments.

#1 @ryan
16 years ago

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

(In [3540]) Remove useless lines. Props majelbstoat. fixes #2455

Note: See TracTickets for help on using tickets.