Get PHP for theme generates wrong formatted code
-
If I try to export the image sizes with custom cropping, the plugin generates wrong PHP strings, such as:
add_image_size('hero-1919x610', '1919', '610', [ "center", "center"));that triggers a WSOD on fronted, the code markup should be something like this:add_image_size('hero-1919x610', '1919', '610', ["center", "center"]);The closing
]square bracket is converted in to)round bracket.
The topic ‘Get PHP for theme generates wrong formatted code’ is closed to new replies.