[wp-trac] [WordPress Trac] #41827: add sanitize_html_class in whole class while there is no spacing.

WordPress Trac noreply at wordpress.org
Thu Sep 7 22:54:38 UTC 2017


#41827: add sanitize_html_class in whole class while there is no spacing.
-----------------------------+------------------------------
 Reporter:  umangvaghela123  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  administration
-----------------------------+------------------------------

Comment (by danieltj):

 This seems like it'd probably fit better as part of a plugin if needed.
 Instead of targeting keys you could use `nth-of-type` in your CSS which
 would pick up the relevant rows without adding any actual specific HTML
 markup.

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


More information about the wp-trac mailing list