[wp-trac] [WordPress Trac] #22103: wp_customize_support_script() removes spaces separating classes

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 7 14:58:14 UTC 2012


#22103: wp_customize_support_script() removes spaces separating classes
------------------------------+---------------------
 Reporter:  johnpbloch        |       Owner:  duck_
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  Appearance        |     Version:  trunk
 Severity:  major             |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by duck_):

 * owner:   => duck_
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [22132]:
 {{{
 #!CommitTicketReference repository="" revision="22132"
 Prevent accidental body class concatenation by replacing (no-)customize-
 support with a space

 The regular expression used by wp_customize_support_script() replaces all
 spaces
 surrounding the matching class. This caused other classes to be merged
 together.

 Props johnpbloch, SergeyBiryukov. Fixes #22103.
 }}}

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


More information about the wp-trac mailing list