add static keyword to fix strict warnings in WP 3.6