Plugin breaks on PHP 7.0.0 with WxH thumbnail option
-
I just spent an hour or so fixing this so I thought it might be useful to others as well.
If you specify a
WxH
-style thumbnail size when using theblog_in_blog
shortcode on a WordPress install running with PHP 7.0, the plugin will fail to render (and halt rendering of your page). This happens because there is asplit
in the code, which was deprecated in 5.3.0 and removed in 7.0.0.Replace the
split
on line 123 ofwp-content/plugins/blog-in-blog/blog-in-blog.php
with anexplode
and you’ll be back in business!
- The topic ‘Plugin breaks on PHP 7.0.0 with WxH thumbnail option’ is closed to new replies.