Re: profile_menu doesnt work on all pages
Where are you changing that? I assume you’re using my Private Messages plugin (hope you like it), and if you’re changing something in functions.php or template-functions.php you could have an adverse effect on plugins.
I also don’t exactly understand why you would test if the current user has an ID. You might want to, instead, test if the current user can do something instead of having an ID.
Plus, I don’t think you want to use || in that setup. You probably want to use && so that if the profile exists AND something else, then it’ll display it.
Possibly all or none of the above