Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 5 years ago

#15537 closed defect (bug) (fixed)

TwentyTen, archive template, loop.php overload explanation typo

Reported by: wpcanyon's profile 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 14 years ago.
credits go to wpcanyon

Download all attachments as: .zip

Change History (5)

#1 @westi
14 years ago

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

14 years ago

credits go to wpcanyon

#2 @markmcwilliams
14 years ago

  • Keywords has-patch added; needs-patch removed

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

#3 @nacin
14 years ago

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

This ticket was mentioned in Slack in #core-editor by kjell. View the logs.

5 years ago

Note: See TracTickets for help on using tickets.