make some function static to meet strict rules,  is never defined in sin...

...gle.php, i think also the is_sticky() calls make nosense