[wp-trac] [WordPress Trac] #12397: get_body_class should show more IDs
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 27 01:29:19 UTC 2010
#12397: get_body_class should show more IDs
--------------------------+-------------------------------------------------
Reporter: filosofo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Themes | Version: 3.0
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by filosofo):
Two points about stability: the "stability" of a category ID, for example,
is an issue only for MS. And between MS and standard, MS is the least
likely to be the recipient of a very specific, custom theme--the very
situation when you need to be able to do something like `category-2.php`.
In other words, it's more likely that I'll be creating a theme that gives
category X a particular treatment, when the site is not MS. MS setups
tend to use out-of-the-box themes for the purpose of flexibility.
Second, I've found that slugs change a lot during development time, which
is just when I have to decide the template logic for a client.
For example, the client first calls the category "Movie Reviews," and then
changes her mind to "Movies," "Reviews," or "Critic's Corner." Not only
does it mean more work for me to re-do slug-based logic, it's frustrating
to the client who can't change the slug without breaking functionality she
doesn't have the technical means to fix.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12397#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list