jarednova/timber — pull request #175 by mgmartel (2014-03-14 12:34:59+00:00)
Title: Force non-404 headers as soon as possible

A small fix. If force_header is set in `Timber::load_template` and it's not 404, make sure it happens as early as possible. The overrides used to be called at normal priority (10), but plugins that do stuff with 404s may use the same hook at default priority.

Permalink Finder (for example) does its redirects at `template_redirect`/10. If you're unlucky, this may be loaded before Timber forces non-404.