-
-
Save Lewiscowles1986/44f059876ec205dd4d27 to your computer and use it in GitHub Desktop.
<?php | |
// Please see https://github.com/Lewiscowles1986/WordPressSVGPlugin from now on |
@telemarker, the 1px x 1px is probably a problem with your CSS rules, you may need to pass new rules to tinyMCE about your grid or container CSS
Update to give multiple 🖕 to WP 4.5+ new custom logo incompatibility
Umm, I tried to activate and got this exception:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected '[' in /nas/content/staging/cpsbop/wp-content/plugins/lc-svg-upload.php on line 15
Advice?
Yes, Goldnate, I have the same problem. I had to revert back to plugin version 1.4.
Just weighing in here -- I decided to remove the sanitization from my plugin mentioned above. The goal of the plugin is to enable the easy utilization of SVG, not to provide safety.
I think security plugins could do a better job about scanning files and such for that. I've chosen to narrow the focus of my plugin 😃
@grok, thanks for the update, I really do like what you have done with your plugin. Checkout the GitHub repo for some third-party contributed code (merge maybe?)
hey lewis did you check on this issue, it not a small one if you want to use svg in your site content.