2 separate issues. Both played a part in this bug.

1. hook.func.inc and owner.theme.inc files weren't included in the theme registry. File inclusion came too late, before core's registry build took place so they were not seen.
2. There was also a little mistake by not replacing hyphens with underscores before checking the file name. File names for some-hook.func.inc are supposed to use hyphens like some-hook.vars.inc and some-hook.tpl.php files but it didn't translate the hyphens into the internal representations of "some_hook" from the theme registry.

CommentFileSizeAuthor
#1 patch_commit_016b7629f4a2.patch1.88 KBdvessel
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dvessel’s picture

Status: Active » Fixed
FileSize
1.88 KB

Status: Fixed » Closed (fixed)

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