It seems like the related bug #591804: Theme registry build bug: External file with template_preprocess is not loaded if tpl.php is copied into theme has been fixed, so we can remove the hook_init implementation.
@merlinofchaos Can you please confirm?

CommentFileSizeAuthor
PE_remove_hook_init.patch821 bytesLetharion

Comments

merlinofchaos’s picture

It's only fixed in latest Drupal, but in earlier versions of Drupal it is still present, yes? Perhaps we can have the function conditional? But I'm not sure we should remove it until we're comfortable that most folks are upgraded to latest Drupal.

Letharion’s picture

I might be missing something now, but #591804: Theme registry build bug: External file with template_preprocess is not loaded if tpl.php is copied into theme was commited on march 1 2010, according to Gábor, which should put it into Drupal 6.16?

merlinofchaos’s picture

Oh hm.

Then it's probably safe to remove, indeed.

(That's what I get for not paying enough attention!)

Letharion’s picture

Assigned: merlinofchaos » Unassigned
Status: Needs review » Fixed

Kars-T tested the patch for me and reported that it worked well. Pushed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.