[wp-trac] [WordPress Trac] #18554: Twenty Eleven body classes for singular does not check condition is_front_page()

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 31 18:20:05 UTC 2011


#18554: Twenty Eleven body classes for singular does not  check condition
is_front_page()
----------------------------+------------------------------
 Reporter:  Gabriel Reguly  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Themes          |     Version:  3.2.1
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------------------
Changes (by Gabriel Reguly):

 * keywords:  reporter-feedback =>


Comment:

 Replying to [comment:1 kawauso]:
 > Could you explain your reasoning for checking `is_front_page()` ?

 Because I do not want to have 'singular' added to body classes at my home
 page, which is a static page.

 See, using only is_home() is not enough when the home page is a static
 page.

 Thanks for the links regarding submitting a patch, if this ticket is found
 to be correct I'll submit a patch.

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


More information about the wp-trac mailing list