[wp-trac] [WordPress Trac] #42849: Ignore html «error»

WordPress Trac noreply at wordpress.org
Mon Dec 11 08:48:05 UTC 2017


#42849: Ignore html «error»
-----------------------------+--------------------
 Reporter:  skoen            |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  4.9.2
Component:  Widgets          |     Version:  4.9.1
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+--------------------

Comment (by iCaleb):

 Took a quick stab at this and got it working for the HTML widget outside
 of the Customizer. I don't know much about the api, but doing this within
 the `wp.customize.Notification` realm seems a bit difficult at the moment.

 Uploading my diff, but it's definitely not ready. Might help whoever picks
 this up next :)

 Couple of things needed of the top of my head:

 1) Passing down `onChangeLintingErrors` doesn't feel right, but couldn't
 find a better way given the setup.
 2) Interactions with `setCustomValidity` don't feel right either.
 3) Of course needs to work on the Customizer side as well.
 4) Just noticed the checkbox and label need `id` and `for` attributes.

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


More information about the wp-trac mailing list