small fix for nonstatic function warning

git-svn-id: https://plugins.svn.wordpress.org/php-code-for-posts/trunk@786954 b8457f37-d9ea-0310-8a92-e5e31aec5664
2 bug fixes - Multisite compatibility improvement and parameter fix

git-svn-id: https://plugins.svn.wordpress.org/php-code-for-posts/trunk@792548 b8457f37-d9ea-0310-8a92-e5e31aec5664