[wp-trac] [WordPress Trac] #45053: Customizer throws JS errors when page contains <area> tag without href attribute
WordPress Trac
noreply at wordpress.org
Mon Jan 21 23:02:44 UTC 2019
#45053: Customizer throws JS errors when page contains <area> tag without href
attribute
--------------------------+-------------------------
Reporter: janthiel | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.1
Component: Customize | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Changes (by pento):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"44684" 44684]:
{{{
#!CommitTicketReference repository="" revision="44684"
Customiser: Prevent JS errors when previewing pages with an `<area>` tag.
The customiser assumes that `<area>` tags will have a `href` attribute,
which isn't necessarily true. Now it checks instead of assuming.
Props janthiel, adamsilverstein.
Fixes #45053.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45053#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list