Can an LLM refactor a WP theme for PHP 8.x compatibility?
3 October 2026 at 17:40
I’m planning to upgrade a WordPress site from PHP 7.2 to 8.3.
I bought this theme in 2018 called 'Soprano - Minimalistic Multi-Purpose WordPress Theme' and it had 2 plug-ins included: Soprano Theme - Custom Post Types and WPBakery page builder. Apparently the theme was not updated since 2019.
Both plug-ins are breaking when updating to any higher PHP version than 7.2.
I see 2 options now: either I go for a completely renewal of theme with one that is already compatible to 8.3 or I try to refactor the current code with LLM assistance to suit the 8.3 requirements.
None of the options looks facile to me, what would you do?
[link] [comments]