[ewiki] Re: new .xpi plugins, reworked plugin hooks [init] and _TEXT check

> Could you explain this a little deeper?  It looks like, in addition to
> the code's new position, the difference is that page_init is no longer
> unset instead running once for each call to ewiki_page.  Is that the sum
> of it or am I missing something?

The ["page_init"] reference is still there, but will of course disappear
as soon as all remaining plugins were changed to further use ["init"]
soley.

You can now hook a function to $ewiki_plugins["init"][], and it is
GUARANTEED that it will be run once, regardless if your plugin was
included before or after the core 'ewiki.php' script was included().
I believe that's far better now, and especially the old ["page_init"]
was at the wrong place and useless for multiple purposes.

mario

Other related posts: