[wp-trac] [WordPress Trac] #21170: JavaScript actions and filters
WordPress Trac
noreply at wordpress.org
Wed Jan 29 23:28:04 UTC 2014
#21170: JavaScript actions and filters
-----------------------------+-----------------------------
Reporter: koopersmith | Owner: koopersmith
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version: 3.4
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses: javascript
-----------------------------+-----------------------------
Comment (by gcorne):
I went ahead and added the ability to remove specific callbacks in
https://github.com/gcorne/WP-JS-
Hooks/commit/c109d4f4cd19fc22d89779cfa1a9ef3edcea6ee0.
One other enhancement that I think needs to before adding to core is
support for jQuery-like namespacing to make cleaning up hooks easier,
although since we don't have to deal with built-in event names, I wonder
if we should be using a convention that is a bit less confusing. Appending
a namespace (e.g. {{{event.namespace}}} seems a little backwards to me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21170#comment:90>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list