Added import functions for WordPress 3.x