Updating plugin after testing with WP 4.0