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

WordPress Trac noreply at wordpress.org
Fri Mar 20 16:06:56 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:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------
Changes (by A5hleyRich):

 * keywords:  needs-patch needs-unit-tests => has-patch needs-testing


Comment:

 Refreshed to work with any taxonomy. The taxonomy name should only contain
 lowercase letters and underscores, as per the codex
 (http://codex.wordpress.org/Function_Reference/register_taxonomy).
 Therefore, do we need to sanitize the taxonomy name?

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


More information about the wp-trac mailing list