[wp-trac] [WordPress Trac] #28776: post_class should always return additional classes

WordPress Trac noreply at wordpress.org
Mon Jul 7 16:13:42 UTC 2014


#28776: post_class should always return additional classes
--------------------------+-----------------------------
 Reporter:  armyman.ch    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When using post_class with a page that has no post (i.e. 404 page), custom
 classes passed to the function aren't set. Even if a post doesn't exist,
 at least the passed classes should be added to the class tag.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28776>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list