Fork of PG4WP to maintain it for wordpress 3.9+