[wp-trac] [WordPress Trac] #38424: Custom form taxonomy field doesn't clear after added...
WordPress Trac
noreply at wordpress.org
Wed Oct 26 03:12:55 UTC 2016
#38424: Custom form taxonomy field doesn't clear after added...
-----------------------------------+-----------------------------
Reporter: SGr33n | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Taxonomy | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+-----------------------------
Changes (by boonebgorges):
* keywords: => has-patch 2nd-opinion
* milestone: Awaiting Review => Future Release
Comment:
The JS has targeted `type="text"` only since [11676].
https://core.trac.wordpress.org/browser/tags/4.6.1/src/wp-
admin/js/tags.js?marks=66#L66
I don't think we can drop `input` because it has the potential to mess
with radio buttons and checkboxes that may set their own default values.
Adding `type="url"` to the selector seems harmless, though. See
[attachment:38424.diff].
Anyone see a problem with this?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38424#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list