[wp-trac] [WordPress Trac] #42867: HTML Widget: toggleClass() should be passed true/false as second param
WordPress Trac
noreply at wordpress.org
Mon Jan 15 23:50:59 UTC 2018
#42867: HTML Widget: toggleClass() should be passed true/false as second param
-------------------------------------+--------------------------
Reporter: iCaleb | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9.2
Component: Widgets | Version: 4.9
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+--------------------------
Comment (by SergeyBiryukov):
In [changeset:"42458"]:
{{{
#!CommitTicketReference repository="" revision="42458"
Widgets: When checking for errors in Custom HTML widget, pass correct
value to `toggleClass()` for Save button.
`toggleClass()` expects a boolean as a second argument, not an integer.
Props iCaleb.
Merges 42457 to the 4.9 branch.
Fixes #42867.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42867#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list