[wp-trac] [WordPress Trac] #42744: Need to Modify Radio & Checkbox Label Class

WordPress Trac noreply at wordpress.org
Mon Dec 11 13:10:14 UTC 2017


#42744: Need to Modify Radio & Checkbox Label Class
-------------------------------+------------------------------
 Reporter:  santai89           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Customize          |     Version:  4.9
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by santai89):

 Replying to [comment:4 westonruter]:
 > @santai89 please also share the code that is responsible for extending
 the control.
 >
 > The structure of radio/checkboxes was updated to make the `label` a
 sibling of the checkbox instead of the radio/checkbox's parent element.
 See r41740 for #33085. There is now a `.customize-inside-control-row`
 element that wraps each label and radio/checkbox. If you add the same to
 your subclass, you'll get the proper styles.

 @westonruter
 I am go through with your solution and found that it was theme issue.They
 can not compatible it with latest version of wordpress. I will contact
 with them for these issue they have.By the way thanks for your
 suggestion/reply.

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


More information about the wp-trac mailing list