[wp-trac] [WordPress Trac] #21170: JavaScript actions and filters
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 16 01:15:55 UTC 2012
#21170: JavaScript actions and filters
----------------------------+--------------------------
Reporter: koopersmith | Owner: koopersmith
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.5
Component: General | Version: 3.4
Severity: normal | Resolution:
Keywords: |
----------------------------+--------------------------
Comment (by mikeschinkel):
Replying to [comment:33 azaozz]:
> Perhaps we should consider all pros and cons. For example, lets say we
have an action 'init' with several namespaces/children: 'init.some',
'init.some.more', 'init.other'.
Keep it very simple, like the original wiki:
''"What's the simplest thing that will work?"''
If there have ideas we ''might'' want to implement, like using periods for
namespacing, then enforce a convention where hook names can't contain
periods in the first implementation. Then wait and see how people actually
use JavaScript actions and filters before making them more advanced based
on speculation.
Better to get something simple into 3.5 than waiting who knows how many
versions for perfection. ''Shipping is a feature.'' :)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21170#comment:34>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list