[wp-trac] [WordPress Trac] #21170: JavaScript actions and filters

WordPress Trac noreply at wordpress.org
Wed Sep 27 03:34:17 UTC 2017


#21170: JavaScript actions and filters
-----------------------------+-------------------------
 Reporter:  koopersmith      |       Owner:
     Type:  feature request  |      Status:  assigned
 Priority:  normal           |   Milestone:  4.9
Component:  General          |     Version:  3.4
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  javascript
-----------------------------+-------------------------

Comment (by adamsilverstein):

 @weston - I'm still intrigued by your suggested approach. I created a PR
 to explore this approach in the WordPress packages repository, I would
 appreciate your review and feedback there:
 https://github.com/WordPress/packages/pull/40

 I can see some potential drawbacks to this approach, however this does
 help hooks bridge the gap into modern JavaScript and I could see this
 making hooks more generally useful. And as I mention in the PR, we could
 decide we still want `wp.hooks` in core even with this approach.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21170#comment:185>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list