When I upgraded to WordPress 2.0, I had an issue with
$wp_rewrite related to a plugin. The plugin was using the
plugins_loaded hook and then trying to access the
$wp_rewrite object. One of the changes in 2.0 was to move the instantiation of the
$wp_rewrite object to after the
plugins_loaded hook. I fixed the problem by editing the plugin to use the
init hook instead.
So just as a “heads up” to plugin authors: you might want to consider using the
init hook from now on, as it happens a little later in the game, and it’s more likely that the thing you need will be available.
Also, once WordPress 2.0 is officially released, I will be updating the WP Hooks site to reflect the new hooks, and their new contexts.