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

WordPress Trac noreply at wordpress.org
Wed Feb 11 03:59:08 UTC 2015


#22271: get_post_class() does not always apply filter to output
-------------------------------+-----------------------------
 Reporter:  F J Kaiser         |       Owner:  SergeyBiryukov
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:  4.2
Component:  Posts, Post Types  |     Version:  3.4
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  template
-------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31408"]:
 {{{
 #!CommitTicketReference repository="" revision="31408"
 Always pass back the custom classes `get_post_class()` was called with,
 even if the post was not found.

 props F J Kaiser, Bueltge.
 fixes #22271.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22271#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list