WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#1187 closed defect (bug) (fixed)

Code cleaning: Unused vars in get_archives() @ template-functions-general.php

Reported by: Alex Parkhomenko Owned by: ryan
Milestone: Priority: normal
Severity: trivial Version: 1.5.1
Component: Optimization Keywords:
Focuses: Cc:

Description

Seems that

278 archive link url
279 $archive_link_m = get_settings('siteurl') . '/?m='; # monthly archive;
280 $archive_link_w = get_settings('siteurl') . '/?w='; # weekly archive;
281 $archive_link_p = get_settings('siteurl') . '/?p='; # post-by-post archive;

in get_archives() @ template-functions-general.php are not used at all

Change History (2)

#1 @Alex Parkhomenko
12 years ago

  • Patch set to No

#2 @ryan
12 years ago

  • fixed_in_version set to 1.5.1
  • Owner changed from anonymous to rboren
  • Resolution changed from 10 to 20
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.