• 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.

    • This topic was modified 5 years, 2 months ago by Giorgio25b. Reason: Expanded the comments
  • The topic ‘Get PHP for theme generates wrong formatted code’ is closed to new replies.