Created
December 9, 2015 14:48
-
-
Save adamjakab/f27cf20f59d2361bd693 to your computer and use it in GitHub Desktop.
WYSIWYG - fix CKEditor version(4+) check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (preg_match('@version:[\'"](?:CKEditor )?([\d\.]+)(?:.+revision:[\'"]([\d]+))?@', $line, $version)) { |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
opppps, this is better if you don't want warnings for $version[2] when it is missing