MimeTypes Link Icons

Changelog

3.3.2

  • Added support for mobil file type

3.3.1

  • Fix security issue

3.2.15

  • Add .pages extension

3.2.14

  • Add ability to only show file sizes for files over a certain Kb threshold

3.2.13

  • Update to testing version 6.4.3

3.2.12

  • Missing mime icons

3.2.11

  • [New file extension] Added support for additional file extension: .pptm
  • Performance on CSS – only load what we need
  • [Bug fix] plugins that used rel for other uses conflicted with mtli. Swapped for data-mtli

3.2.10

  • [New file extension] Added support for additional file extension: .msix

3.2.9

  • WP compatibility update

3.2.7

  • ¯(°_o)/¯

3.2.7

  • Added support for ACF plugin

3.2.6

  • Added support for PHP7 (thanks to @marol87)
  • Allow for the new wp_installing() function

3.2.5

  • [New file extension] Added support for additional file extension: .key

3.2.4

  • Code enhancements

3.2.3

  • Minor tweak

3.2.2

  • Added the priority of 15 to pause_mtli() and unpause_mtli() functions, to match the initial add_filter setup
  • Renamed folder after typo

3.2.1

  • [Bug fix] Prevent double adding of styles if/when the main function is called several times
  • [Speed] Lower Curl connect time-out, so page loading will be faster if no connection can be made to retrieve the file size of a file.
  • Added note about filter extension requirement to this readme file.
  • Minor code tweaks

3.2

  • [Bug fix] filters on plugins_url() could not be applied, fixed
  • [Bug fix] for upgrade routine not running on (re-)activation of the plugin
  • [Bug fix] Small optimization in link matching regex which should prevent an edge case bug. Thanks ts_sklett for reporting.
  • [Bug fix] Fix icon spacing issue as reported by blitz fahrradmanufaktur
  • [New file extensions] Added support for additional file extensions: .cls, .f, .f77, .f90, .py, .rar, .sty

And further:
* Fully leveraged the Options API
* Upped the minimum WP level to fully take advantage of new functions and APIs
* Tested up to WP 3.8-beta
* Code style validated against WordPress standards
* Added API documentation
* One time only force update of internal domains option
* Improved charset support for settings page
* Small improvements in validation
* Removed auto-deactivation if run on old versions (was buggy)
* Various small code tweaks

3.1.3

3.1.2

  • [Bug fix] zip packages for tags weren’t working properly

3.1.1

  • [Bug fix] The new mimetype filter hook was called before the theme (and therefore the functions.php file) was loaded.
  • [Security] Added some extra security measures

3.1.0

  • [New feature] Added extensibility to classnames and file types, meaning that users can add a filter hook to edit/add their own styles
  • [New feature] Added debug mode to async replacement
  • [Bug fix] Async replacement was balking at nodes
  • [Bug fix] Settings links on plugin page didn’t work, thanks sndu for reporting
  • [Bug fix] Error in filesize retrieval if internal domain was not set correctly, thanks PsychicSmurf for reporting
  • [Misc] Added internal debugging variable and some debugging code to help determine problems with filesizes and paths. See the Error reporting section in the readme file for info on how and when to use this.

3.0 by jrf

  • [New file extensions] Added additional file extensions which are within the WP allowed file types list: .jpeg
    .pps, .ppsx, .m4a, .wav, .avi, .3gp, .3g2
  • [New file extensions] Added several additional file extensions based on user requests: .pub, .eps, .rtf and .exe
  • [New file extensions] And some more: .tiff, .ico, .ttf, .qt, .air, .msi, .sql, .flv

  • [New feature] Ability to disable this plugin for more than one classname

  • [New feature] Caching of the results of (slow) file size retrievals. This will make page loading a lot faster for pages with lots of file links. Will automatically be turned on, you can turn it off and/or fine tune the cache duration via the settings page. Default cache duration: 1 week.
  • [New feature] Set the rounding precision (number of digits after the decimal point) for file sizes, small files (b) will always round to 0 decimals.
  • [New feature] Output filter for file size string See the FAQ for more info.
  • [New feature] Ability to have mimetype icons for content outside of the loop See the FAQ for info on how to use this.

  • [Usability] Added ‘check all’/’uncheck all’ togglers for the file types to the settings page

  • [Usability] Compacter options screen – file types now display in two columns
  • [Usability] Added help tab to the settings page
  • [Usability] Added proper settings link on plugins page, credits now link to the GitHub repo
  • [Usability] Added clean uninstall routine

  • [Compatibility] Added pause_mtli() and unpause_mtli() functions for use by other plugins in case of (page specific) conflicts. See the FAQ for info on how to use this.

  • [Bug fix] Images didn’t display if wp-content and/or the plugins directory was in a non-standard location.

  • [Bug fix] Added epub css styling
  • [Bug fix] File size now complies with the localized number format style
  • [Bug fix] Curl settings error when in safe_mode – thanks wolkenkrieger for reporting
  • [Bug fix] If file size is unknown or file size retrieval failed completely, no file size indication will be shown (it used to show ‘unknownb’ or ‘b’)
  • [Bug fix] Links are now matched in a case-insensitive manner, so that both document.DOC as well as document.doc will be matched (was only lowercase)
  • [Bug fix] If a link already had a class attribute, a second one used to be added. Most browsers don’t handle this well. Fixed so that additional class will be added to the existing class attribute.
  • [Bug fix] If file size showing would be on and the link had the disabled classname set, the icon would not show, but the file size still did – thanks Leanne for reporting.
  • [Bug fix] File size showing in async mode would never work
  • [Bug fix] Classes to avoid where not being applied when not in async mode / would force async mode – thanks John Percival for reporting
  • [Bug fix] File size not always showing on attachments.php page – thanks aluizioll for reporting
  • [Bug fix] Padding was too easily overruled by CSS from other plugins – thanks MGmirkin for reporting
  • [Bug fix] File size was retrieved twice for each file… oops.
  • [Bug fix] Hopefully fixed bug in retrieval of file size – thanks brigerard and digitalnordic for reporting
  • [Bug fix] File size retrieval should now also work for (most) relative paths

  • [Localization] Added .pot file to enable translations of this plugin

  • [Code improvements] Complete rewrite in OO style including implementation of the Settings API

  • [Code improvements] Implemented lean loading as much as possible
  • [Code improvements] Greatly improved input validation for the options page

  • [Misc] Added GPL license information

Plugin Website
Visit website

Author
eagerterrier
Version:
3.3.2
Last Updated
March 28, 2026
Active Installs
8000
Requires
WordPress 3.6
Tested Up To
WordPress 6.7.5

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.