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

WordPress Trac noreply at wordpress.org
Sat Nov 3 19:45:23 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:  has-patch     |
--------------------------+------------------------------

Comment (by MikeSchinkel):

 Replying to [comment:10 scribu]:
 > It seems to me that you're trying to transform get_post_class() into
 something that dilutes it's purpose, just because it's convenient for you,
 instead of fixing your theme to account for the is_404() case.

 Making sure it always runs the filter is ''"diluting it's purpose?"''
 Sounds like avoidance of change for avoidance of change sake.

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


More information about the wp-trac mailing list