Moved other hooks out of the processOptions hook.
In plugins we should never add hooks conditionally; the condition should remain within individual hooks, so the plugin can be toggled at any time. Ideally we should also 'inline' the hook functions, since they're used nowhere else. But since that would involve a lot of code changes, we'll put it off until the broader cleanup effort scheduled for 0.9.0.
Showing
Please
register
or
sign in
to comment