PHP Strict errors in hacks.php, already fixed in development version
-
Hi RavanH,
Thank you for your work on this plugin. I was writing to tell you about an error I’m seeing with strict error reporting from PHP. The error is:
Strict Standards: Only variables should be passed by reference in /wp-content/plugins/xml-sitemap-feed/hacks.php on line 213
The problem is caused by
array_shift(array_filter($lastmodified))
in hacks.php in version 4.3.2.But then I checked the development version of your plugin, which I found here:
https://wordpress.org/plugins/xml-sitemap-feed/developers/
When I looked at the development version, I see that you have already fixed the problem in approximately the way I would have proposed.
So, keep up the good work. And if anybody else sees the error above, it seems a solution is in the works.
- The topic ‘PHP Strict errors in hacks.php, already fixed in development version’ is closed to new replies.