wordpress: php code review