[wp-trac] [WordPress Trac] #12902: Ticking the boxes for Twenty Ten: Some areas for improvement
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 8 22:05:01 UTC 2010
#12902: Ticking the boxes for Twenty Ten: Some areas for improvement
-------------------------+--------------------------------------------------
Reporter: demetris | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Themes | Version: 3.0
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Comment(by johnonolan):
Replying to [comment:11 Otto42]:
> Replying to [comment:10 westi]:
> > I disagree - it reduces the repeating of similar code and at the same
time makes it easy for a child theme to override the loop in a specific
case.
>
> We have things like category-slug.php and search.php templates for a
reason. Using is_category() for things that should be in separate
templates is silly.
+1, otherwise we might as well run an entire theme from index.php[[BR]]
[[BR]]
index.php / archive.php / category.php are pretty much all identical now:
getheader, getloop, getsidebar, getfooter - they even have (almost all)
the same divs in between.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12902#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list