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

dokumori’s picture

Project: Documentation » Drupal core
Version: » 7.x-dev
Component: Developer Guide » documentation

Changed the component to reflect the new component categorization. See http://drupal.org/node/301443
-dokumori

dokumori’s picture

Component: documentation » menu system
dropcube’s picture

Status: Active » Closed (won't fix)

hook_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