[wp-trac] [WordPress Trac] #15078: Custom Loops in Twenty Ten

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 9 02:23:41 UTC 2010


#15078: Custom Loops in Twenty Ten
--------------------------+-------------------------------------------------
 Reporter:  koopersmith   |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.1      
Component:  Themes        |     Version:  3.0.1    
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by nacin):

 Demetris -- I see your point as it relates to differentiating the regular
 page from the single-column page, but beyond that, I like the consistency
 of 'loop' and then the context argument. It provides for easy overriding
 in a child theme, or in this case, we're actually overriding the loop
 directly in the parent theme, too. Also, if you wanted to check if you
 were in a page template, there's a function for that --
 is_page_template().

 With regards to why we need a proper loop, see #13279.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15078#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list