[wp-trac] Re: [WordPress Trac] #4514: could we add a plugin hook?
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 29 21:59:34 GMT 2007
#4514: could we add a plugin hook?
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: anonymous
Type: enhancement | Status: reopened
Priority: lowest | Milestone: 2.4
Component: General | Version:
Severity: trivial | Resolution:
Keywords: has-patch |
-------------------------------+--------------------------------------------
Comment (by Otto42):
Replying to [comment:5 Denis-de-Bernardy]:
> One could arguably use the template_redirect hook with an extremely low
priority, e.g. -1000000. In practice, however, I've found (I've a bunch of
plugins that start output buffers on this hook) that conflicts arise
because an odd plugin here or there hooks into the template_redirect
plugin before I do, and things end up not working together.
Adding a new action that's arguably in the same place isn't going to
remedy that. All that will happen is that other plugins will hook to this
new action as well, and then you have the same issue.
The -1000000 is actually a better solution, IMO.
--
Ticket URL: <http://trac.wordpress.org/ticket/4514#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list