Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#15537 closed defect (bug) (fixed)

TwentyTen, archive template, loop.php overload explanation typo

Reported by: wpcanyon Owned by:
Milestone: 3.1 Priority: normal
Severity: minor Version: 3.1
Component: Themes Keywords: has-patch
Focuses: Cc:


TwentyTen theme, archive.php, line 52.

In the comment explanation it says we should use "loop-archives.php" to overload loop.php, but it should actually say "loop-archive.php" since on line 54 it's "get_template_part( 'loop', 'archive' );".

It's just a typo in the comments, but can be misleading for some developers.

Attachments (1)

15537.diff (566 bytes) - added by markmcwilliams 5 years ago.
credits go to wpcanyon

Download all attachments as: .zip

Change History (4)

#1 @westi
5 years ago

  • Cc westi added
  • Keywords needs-patch added; TwentyTen loop archive removed
  • Milestone changed from Awaiting Review to 3.1

5 years ago

credits go to wpcanyon

#2 @markmcwilliams
5 years ago

  • Keywords has-patch added; needs-patch removed

When you say needs-patch you mean like the one just attached? ;)

#3 @nacin
5 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.