Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
menu system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2006 at 09:45 UTC
Updated:
27 Aug 2009 at 06:22 UTC
There should be a page somewhere in the developers guide or in the api documentation that a number of functions are "unsafe" to call from hook_menu(!$may_cache) because they will do unexpected things.
One of these functions: drupal_get_title() (http://drupal.org/node/79390 for background).
Comments
Comment #1
dokumori commentedChanged the component to reflect the new component categorization. See http://drupal.org/node/301443
-dokumori
Comment #2
dokumori commentedComment #3
dropcube commentedhook_menu(!$may_cache) doesn't exist in 7.x, nor 6.x, we have hook_menu() which is registry style hooks to define menu items and page callbacks