Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Noreabu — Check for at least on crop enabled image size #4

Merged
merged 1 commit into from
Dec 6, 2016

Conversation

mcaskill
Copy link
Owner

@mcaskill mcaskill commented Dec 6, 2016

From tomaszsita#52

Check if at least one image size has crop enabled to avoid silent failure due to the resulting invalid JavaScript.

I would have added a function for the check, but i did not want to mess too much with the code :)

It should resolve the issue here:
https://wordpress.org/support/topic/uncaught-syntaxerror-invalid-regular-expression-missing

@mcaskill mcaskill merged commit a165d1c into mcaskill:master Dec 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant