A user recently reported a very odd issue where their server would report a 505 error when visiting the WordPress Google Form Plugin Settings Page. Having never seen this sort of behavior, I was somewhat stumped.
The user had a test server I was allowed to access and I was able to narrow the problem down to a call to preg_match_all(), a standard PHP function.
The plugin settings page scrapes some content from the WordPress plugin repository and puts it on a tab within the Plugin Settings Page. The call to preg_match_all() involved a fairly complex regular expression to extract just the content I wanted.
It turns out there is an undocumented WordPress Plugin API which makes extracting this same date extremely simple. This beta release incorporates the API and eliminates the call to preg_match_all(). The solution is much cleaner, wish I would have known about this sooner!
Download the beta release and please let me know if you run into any issues.Google Forms Beta (157 downloads)