Fix warning Undefined variable: page_ids
undefined / index cleanup with new pr_GET/pr_POST helpers
wp_specialchars is deprecated since version 2.8
Undefined variable: user_login
Creating default object from empty value