[wp-trac] [WordPress Trac] #46335: Custom HTML Issues
WordPress Trac
noreply at wordpress.org
Tue Mar 5 22:05:53 UTC 2019
#46335: Custom HTML Issues
------------------------------------+-------------------------
Reporter: swagatam1975 | Owner: audrasjb
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.1.1
Component: Widgets | Version: 5.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: javascript
------------------------------------+-------------------------
Comment (by westonruter):
The `change` trigger was introduced in this commit:
https://github.com/WordPress/better-code-
editing/pull/21/commits/2485cbf1df1a472135e5a1ef39c845871e7e7cb7#diff-
a8e59ff68e829597118926c5bb9f280eR91
Apparently it was needed when I wrote that code. The reason for the
`change` would be to make sure that the Customizer picks up the change to
sync to the preview here: https://github.com/WordPress/wordpress-
develop/blob/14cebbe9877c4ef79ea4d79e3d8e1a5581930377/src/js/_enqueues/wp/customize/widgets.js#L933-L938
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46335#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list