Aller au contenu principal
MeteorGPLby WebbingApps

SVG Support

Extension
Suivre 0 Ajouter une étoile 0
Installer

Journal des modifications 49

Toutes les publications, de la plus récente à la plus ancienne, telles que l’éditeur les a décrites dans le journal des modifications de l’extension.

CHANGELOG.md

2.5.5

Dans le dépôt
  • More error fixes and general clean up.

2.5.4

Corrigé Pas encore disponible
  • Fixed errors.

2.5.3

Corrigé Pas encore disponible
  • Fixed fatal php error.

2.5.2

Nouveau Sécurité Pas encore disponible
  • Added some defaults for better security by default.

2.5.1

Nouveau Pas encore disponible
  • Added missing quotes in uninstall.php.

2.5

Nouveau Corrigé Sécurité Pas encore disponible
  • Cleaned up spelling mistakes and general formatting.
  • Addressed security concern.
  • Added more sanitization options - frontend and admin both supported.
  • Added support for SVG minification.
  • Added ability to choose jQuery or vanilla JS.
  • Added DB cleanup on uninstall.
  • Fixed dimensions fallback.

2.4.2

Corrigé Supprimé Pas encore disponible
  • Fixed srcset warning for some premium themes.
  • Fixed original IMG IDs not getting preserved on replacement.
  • Removed some rogue text from featured image box.

2.4.1

Corrigé Pas encore disponible
  • Fixed issue causing WP-CLI to break.

2.4

Nouveau Amélioré Corrigé Sécurité Supprimé Pas encore disponible
  • NEW FEATURE: Added optional SVG sanitization.
  • NEW FEATURE: Added optional SVG minification.
  • Added inline SVG checkbox to Gutenberg featured image.
  • Better Gutenberg support in general.
  • Modified class targeting to allow inline rendering of nested SVGs (any level deep) when you can't set the IMG class directly.
  • Modified JS to use vanilla JS instead of jQuery.
  • Fixed accessibility issues on settings page.
  • Fixed dimensions metadata issue.
  • Fixed division by 0 issue when SVG had no width or height set.
  • Fixed featured image spacing issue in both classic and block editor.
  • Bumped required PHP version.
  • Removed obsolete admin notice.
  • Removed srcset for SVG files.
  • Removed directory name from filepath metadata.

2.3.21

Corrigé Pas encore disponible
  • Fixed featured image SVG overlapping container.

2.3.20

Corrigé Pas encore disponible
  • Fixed admin setting not being escaped when output.

2.3.19

Nouveau Corrigé Pas encore disponible
  • Fixed PHP Warning from localize_script in functions/enqueue.php.
  • Added a check for SRC attribute in js/svgs-inline.js.

2.3.18

Amélioré Pas encore disponible
  • Updated author URL in main plugin file.
  • Updated donate links.
  • Cleaned up plugin action meta links and settings page.
  • Rolled back a fix in functions/attachment.php due to it removing meta from other attachments.

2.3.17

Nouveau Pas encore disponible
  • Added setting to choose whether to load frontend CSS or not.

2.3.16

Corrigé Pas encore disponible
  • Fix for files that have the XML declaration.
  • Fix for PHP warnings from image widget.
  • Some small CSS changes to the frontend when displaying SVG media attachments.

2.3.15

Pas encore disponible
  • Had to roll back a recent PHP warnings fix due to it breaking some theme compatibility.

2.3.14

Corrigé Pas encore disponible
  • Fixed: Fatal error in some cases when removing old option from the database.

2.3.13

Amélioré Corrigé Supprimé Pas encore disponible
  • Fixed: PHP warnings and notices from the image widget when using SVG files and wp_debug was on.
  • Modified: Better front end CSS for displaying SVG attachments, both as images and inline.
  • Removed: DB entry for deprecated admin notice.

2.3.12

Nouveau Amélioré Supprimé Pas encore disponible
  • New: Native "Help" tab on the SVG Support settings page.
  • New: Wrapped the inline JS in a function so you can call it at will using bodhisvgsInlineSupport();.
  • Modified: Admin CSS to target SVG src only.
  • Modified: SVG Support settings page - cleaned it up a little.
  • Removed: Version update admin notice.

2.3.11

Nouveau Amélioré Pas encore disponible
  • New: Feature to use expanded JS file rather than the minified/compressed version (useful for bundling and minifying using external caching plugins).
  • New: Force Inline SVG option. This feature allows you to force all of your SVG files to be rendered inline regardless of classes applied. Addresses issues where you can't add your own class to an image for some reason. For example, some page builder image elements. Also addresses changing your target class in the settings and needing to change all of your already embedded media, allowing you to simply force render rather than update all of the classes.
  • Modified the readme file and descriptions a bit.
  • Refined some code in functions/featured-image.php line 69 to address a warning.
  • Updated "Requires at least" tag to 4.8 (though it should still work in older versions, there was issues with core during the 4.7 phase and it's time for you to update anyway).

2.3.10

Corrigé Pas encore disponible
  • Fixed missing links in settings page.

2.3.9

Nouveau Amélioré Pas encore disponible
  • Modified plugin action meta link for settings page.
  • Changed some language throughout the plugin.
  • Added recommendation for ShortPixel Image Optimization.
  • Added conditional to check post type supports thumbnail before setting meta data.

2.3.8

Nouveau Corrigé Pas encore disponible
  • Added some CSS to make sure featured images show on WooCommerce products, Sensei Courses and Lessons.
  • Fix: Auto insert class setting was stripping featured image HTML in some cases.

2.3.7

Nouveau Amélioré Corrigé Pas encore disponible
  • Added WP version check to wrap mime fix function needed for WP v4.7.1 - v4.7.2.
  • Moved mime fix into mime type file.
  • Modified admin notice code to make it neater.
  • Fix: attachment-modal.php issues with some servers and external SVG files (props to @abstractourist & @malthejorgensen for providing fixes, as I could not consistently reproduce the issue).
  • Compatibility: Changed a line to provide wider compatibility, specifically for WordPress Bedrock on a LEMP stack.
  • Compatibility: Added another snippet to the JS to support IE11 (apparently people still use IE).
  • Added more FAQ's.

2.3.6

Nouveau Corrigé Supprimé Pas encore disponible
  • New: Added polyfill to make svgs-inline.js work with older browsers.
  • New: Section to leave reviews on settings page.
  • Removed: Redundant one time upgrade activate code.
  • Fix: Errors reported on activation and on the settings page - Related Support Thread.

2.3.5

Pas encore disponible
  • Revision and modification of the thumbnail display code.

2.3.4

Corrigé Pas encore disponible
  • Fix: Fatal error for some because a function wasn't prefixed.

2.3.3

Amélioré Corrigé Pas encore disponible
  • Fix: Missing arguments PHP warnings from new attribute control file.
  • Update settings page text.

2.3.2

Amélioré Pas encore disponible
  • Modified the attribute control code that auto inserts our class to only apply to SVG files.

2.3.1

Corrigé Pas encore disponible
  • Fix: Fatal error in some cases due to admin notice.

2.3

Nouveau Amélioré Pas encore disponible
  • New Feature - Advanced Mode: allows you to turn off the advanced features and simply upload SVG files like normal images. This addition also enables users to turn off the script added on front end by leaving Advanced Mode unchecked.
  • New Feature - Featured Image Support: If your featured image is SVG, once the post is saved you will see a checkbox to render the SVG inline (advanced mode only).
  • Performance - Stop inlining JS from running if image source is not SVG.
  • Added new stylesheet for settings page.
  • Moved SCSS files to their own folder.
  • Changed donate link so I can track it and properly thank you for your generous donations.
  • Added a rating link to the settings and media pages.
  • Cleaned up code formatting, added more comments.
  • Added a plugin version check.
  • Added notice so people are aware they may need to turn on the advanced mode.

2.2.32

Amélioré Pas encore disponible
  • Changed text domain to match plugin slug for localization.

2.2.31

Pas encore disponible
  • Attempt to fix ability to translate

2.2.5

Corrigé Pas encore disponible
  • FIX: Display SVG thumbnails in attachment modals.

2.2.4

Corrigé Pas encore disponible
  • FIX: Added function to temporarily fix an issue with uploading in WP 4.7.1

2.2.3

Nouveau Amélioré Corrigé Pas encore disponible
  • Modified code in svg-support/js/svg-inline.js and svg-support/js/min/svg-inline-min.js to allow JS control of the SVG elements and detect if they have been loaded (IMG tag swapped out). Thanks to laurosello for this suggestion and code contribution.
  • Fixed SVG thumbnails not displaying correctly in list view of the media library.
  • Cleaned up the code and comments a bit.
  • Added translation for Spanish. Thanks to Apasionados del Marketing for the translation.

2.2.2

Amélioré Pas encore disponible
  • Changed another anonymous function in svg-support/functions/thumbnail-display.php that was causing errors for some.

2.2.1

Amélioré Pas encore disponible
  • Changed anonymous function in svg-support/functions/thumbnail-display.php line 15 to prevent fatal error in older PHP versions.

2.2

Nouveau Amélioré Pas encore disponible
  • Added support to make SVG thumbnails visible in all media library screens.
  • Added SVGZ to the mime types.
  • Automatically removes the width and height attributes when inserting SVG files.
  • Added ability to choose whether the target class is automatically inserted into img tags or not, stripping the default WordPress classes.
  • Added ability to choose whether script is output in footer - true or false.
  • Blocked direct access to PHP files.
  • Added SCSS support using CodeKit - minified CSS + JS files.
  • Updated spelling for incorrect function name.
  • Changed comment formatting across all files for consistency.
  • Added link to $25 Free credit at GoWebben on the settings page.
  • Tested in WordPress 4.3.
  • Updated Readme file.

2.1.7

Amélioré Pas encore disponible
  • Tested in WordPress 4.0 and added plugin icons for the new interface.

2.1.6

Nouveau Pas encore disponible
  • Added missing jQuery dependency in /functions/enqueue.php (pointed out by walbach) - was loading SVG Support JS before jQuery.

2.1.5

Nouveau Pas encore disponible
  • Added Serbian translation, submitted by Ogi Djuraskovic.

2.1.4

Nouveau Amélioré Corrigé Pas encore disponible
  • Fixed plugin settings link (on plugins page)
  • Added more links - Support & Donate
  • Modified the settings page a little
  • Cleaned up settings page with CSS
  • Satisfied my OCD tendencies a little

2.1.3

Nouveau Pas encore disponible
  • Added plugin_action_links file for custom menus on plugin page.

2.1.2

Pas encore disponible
  • Cleaned up trunk, tags and readme.txt to show correct changelog and update notice.

2.1.1

Corrigé Pas encore disponible
  • Fixed JS file conditional - worked in local testing but not live.

2.1

Amélioré Pas encore disponible
  • Updates to language files for localization.

2.0

Nouveau Pas encore disponible
  • Added an admin settings page with instructions plus options for restricting to admin use only and setting a custom CSS target class.
  • Whole plugin completely re-written and re-structured.
  • Added option to restrict SVG uploads to administrators only.
  • Added field for custom CSS target class.
  • Added stylesheet to admin settings page.

1.0

Nouveau Pas encore disponible
  • Initial Release.

Envoyer votre avis

Ce qui fonctionne, ce qui ne fonctionne pas, ce qui manque : quelques mots suffisent.

Seulement si vous souhaitez une réponse.

Prise dans votre navigateur, sans cette fenêtre. Les mots de passe, ce que vous avez saisi dans les formulaires, les clés et les jetons sont exclus et remplacés par des blocs gris ; vous pouvez masquer d’autres zones avant l’envoi. Nous conservons les captures 90 jours.

Nous l’enregistrons avec l’adresse de la page, votre langue, la taille de la fenêtre, le navigateur et l’adresse IP, ainsi que votre adresse e-mail si vous en indiquez une. L’adresse IP et le navigateur sont supprimés après 90 jours. Politique de confidentialité.

Toutes les langues