[wp-trac] [WordPress Trac] #15537: TwentyTen, archive template, loop.php overload explanation typo

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 22 11:15:43 UTC 2010


#15537: TwentyTen, archive template, loop.php overload explanation typo
--------------------------+-------------------------------------------------
 Reporter:  wpcanyon      |       Owner:                          
     Type:  defect (bug)  |      Status:  new                     
 Priority:  normal        |   Milestone:  Awaiting Review         
Component:  Themes        |     Version:  3.1                     
 Severity:  minor         |    Keywords:  TwentyTen, loop, archive
--------------------------+-------------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15537>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list