Fixing Warning: “continue” targeting switch is equivalent to “break”
In the last 2 years, Suffusion theme was hosted on github. As Sayontan mentioned, he don’t maintain or support the theme anymore. More than that, because of spammers, he closed the possibility to post new comments on Aquoid forum, the only way for reporting issues remaining on github.
That being said, few days ago, Manuel from MBR Solution, reported an issue related to php 7.3.
As Sayontan made me and Colin as contributors on his repository, and the theme wasn’t updated there in last 2 years, I tried to solve the problem and I updated all files changed in the latest versions posted in various places – here on my site, on Aquoid Forum or as github forks.
So from now, the home of Suffusion will be only on github, in Sayontan repository.
After updating everything, I released a new version of theme – 4.5.6 – intended to solve the issue reported by Manuel.
On servers with php 7.3. the site will throw a lot of warnings: Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”?
So I changed only one file, media.php, replacing all “continue” instances with “continue 2”.
The new version of theme can be downloaded from github.