Plugin / Scalable Vector Graphics (SVG)

Sterling Hamilton

Changelog

Changelog

3.4

  • Resolve fatal errors for people who have the core php libraries for xml uninstalled, or have invalid xml files.

3.3

  • Add a patch for core bug introduced in 4.7.1

3.2

  • Created End User styles to allow for the front of the site to display SVG files properly.

3.1

  • Fix mime-type issues. Changed too much too quickly. BAD DEVELOPER.

3.0

  • Removed the sanitizer. This plugin isn’t about security. It’s about letting you use SVG files easily.
  • Added more styling to improve Media Manager, including adjustments Grid View and Listing View
  • Added additional styling to allow for SVG files to show for Featured Images.
  • Reduced overall code footprint and complexity.
  • Added code documentation.
  • Resolved several serverside issues you may have been encountering having to do with security related stuff.

2.3.1

  • Added inline styling to the administration area so SVG attachments will show up in list/grid views.
  • Props to shield-9 (Daisuke Takahashi) for the code.

2.2.1

  • Added a security library to scan all uploaded SVG files. It has a list of “expected” elements and attributes, if the file contains thing it does not expect, it removes them. This will include things like Javascript.
  • The security cannot be perfect and it is recommended to only provide upload privileges to trusted users.
  • Props to thedwards for bringing this to my attention.

2.0

  • I broke everything. I’m sorry, but it had to be done.
  • Basically how I had approached the problem before was wrong. It is now being done properly using the correct mime/type.
  • Shortcodes are no longer needed, you can now use SVG files as you would any other image.
  • Previews now show up in the media area for SVG files.
  • IMPORTANT: Anyone using the version prior to 2.0 were using shortcodes to display SVG files. You will have to go back and replace those shortcodes with actual image tags. If you’re not familiar with HTML, you can just delete the shortcode out of the page/post and then insert the SVG file as you would any other image.
  • Thanks to the guys over at mozilla.org for kicking me in the butt to actually fix this thing: https://bugzilla.mozilla.org/show_bug.cgi?id=721830

1.2

  • One less required parameter and a graceful fail over to a valid implementation type. Props @Phil

1.1

  • Fixing a typo. This typo caused ONLY SVG files to be allowed to upload via the media uploader.

1.0

  • I N C E P T I O N

Ratings

4.5
22 reviews

Rating breakdown

Details Information

Version

3.4

First Released

31 Jan, 2014

Total Downloads

109,580

Wordpress Version

3.0 or higher

Tested up to:

4.8.11

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.