[wp-trac] [WordPress Trac] #33924: sanitize_html_class valid characters

WordPress Trac noreply at wordpress.org
Wed Nov 18 00:55:54 UTC 2015


#33924: sanitize_html_class valid characters
-------------------------------------------------+-------------------------
 Reporter:  m-e-h                                |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Formatting                           |  Release
 Severity:  normal                               |     Version:  trunk
 Keywords:  has-patch needs-testing 2nd-opinion  |  Resolution:
                                                 |     Focuses:
-------------------------------------------------+-------------------------
Changes (by juliobox):

 * keywords:  has-patch needs-testing => has-patch needs-testing 2nd-opinion


Comment:

 Read https://wordpress.slack.com/archives/core/p1447803525000771
 and https://wordpress.slack.com/archives/core/p1447803777000775

 The new patch adds a 3rd parameter named "$strict = false", when set to
 "true", the new code from peter will be used, else, the older one
 (including the new @) is used.

 This is made to have a better backcompat when scripts/plugins are using
 "#foo:Bar" to obtain "fooBar".

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


More information about the wp-trac mailing list