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

WordPress Trac noreply at wordpress.org
Tue Jan 29 23:19:45 UTC 2013


#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      |
-----------------------------+-----------------------------

Comment (by vhauri):

 > The original idea was to have add_action(), add_filter(), do_action(),
 etc. in JS that behave similarly to PHP. Unfortunately neither
 Backbone.events nor jQuery.Callbacks() have a way to specify callback
 priority. Also missing did_action() which might be useful to have.

 +1 to what @azaozz said...the priority of execution is important in the
 use-cases I have (or at least the ability to perform a did_action()-type
 call to check if another action has fired).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21170#comment:53>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list