[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
Thu Sep 1 00:19:04 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:  close           |
----------------------------+------------------------------
Changes (by andrewryno):

 * keywords:   => close


Comment:

 Pretty sure this is by design.

 http://codex.wordpress.org/Function_Reference/is_singular

 It returns true for pages, single posts and attachments. A static front
 page is still a page, so it should be labeled as 'singular'.

 Suggest closing as wontfix.

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


More information about the wp-trac mailing list