[wp-trac] [WordPress Trac] #30883: Duplicate post_class() for different categories

WordPress Trac noreply at wordpress.org
Sat Jan 3 04:21:59 UTC 2015


#30883: Duplicate post_class() for different categories
-------------------------------------------------+-------------------------
 Reporter:  SergeyBiryukov                       |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  4.2
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug needs-patch needs-    |     Focuses:
  unit-tests                                     |
-------------------------------------------------+-------------------------

Comment (by sgrant):

 If the issue is the non-letter characters, should the single additional
 check be whether or not the remaining characters after replacement are
 exclusively in [0-9_-] ? It seems redundant to have multiple checks;
 rather, maybe it's best to find the line in the sand and do the correct
 test.

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


More information about the wp-trac mailing list