[wp-trac] [WordPress Trac] #22271: get_post_class() does not always apply filter to output

WordPress Trac noreply at wordpress.org
Sat Nov 3 13:01:45 UTC 2012


#22271: get_post_class() does not always apply filter to output
------------------------------------+------------------------------
 Reporter:  F J Kaiser              |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Template                |     Version:  3.4
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------------------

Comment (by F J Kaiser):

 From a brief test, {{{post_class}}} also fails on the index page, if
 there's no loop (so {{{get_post()}}} can't trigger
 {{{wp_cache_get($post_id, 'posts')}}}).

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


More information about the wp-trac mailing list