Ensure snippets to be non-empty

Created on 21 November 2017, almost 7 years ago
Updated 23 March 2023, over 1 year ago

When hook_init is called, you are calling: $node = menu_get_object() which then can sometimes call whole menu_rebuild() process within menu_get_item(). On very large sites, this can be a heavy duty burden that really isn't necessary if you don't have head scripts.

I have places a check on hook_init && hook_page_alter to prevent it from going into the logix if there are no snippets.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States labboy0276

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024