Hi folks! Quick question - in my comments.php template, we find the standard check to see whether comment_registration is required and the $user_ID global variable is defined.
With the template I'm using, $user_ID always seems to be undefined, or I should say, the test always fails, thus users (even when logged in) never get to see the comment form.
I guess I need to understand where is $user_ID defined? How does WP handle user authentication? In which of the 10 billion includes do we query the user, authenticate him, and pass his ID to this global variable?
Thanks in advance for any insights you might have!