bugfixes PHP and WP versions