Support » Plugin: MimeTypes Link Icons » Problem with version 2.2.3

  • Resolved brigerard

    (@brigerard)


    Hello,
    I have error messages on the screen after installing the latest version

    Warning: filesize() [function.filesize]: stat failed for /bowling/wp-content/uploads/BCF/2013/Triplettes/Equipes_Points_12.pdf in /homez.324/gerardbrh/www/bowling/wp-content/plugins/mimetypes-link-icons/mime_type_link_images.php on line 376

    I reinstalled the old version and all is well

    BCF Ligue du Jeudi 2015

Viewing 4 replies - 1 through 4 (of 4 total)
  • I have the same problem on multiple sites.

    Plugin Contributor jrf

    (@jrf)

    @brigerard, @digitalnordic the new version v3 should fix this. If you agree, please mark the topic resolved.

    Thanks, Juliette

    Yes that problem is resolved but now I do not get icons when I use custom post type shortcodes. I did with version 2.2.1.

    Plugin Contributor jrf

    (@jrf)

    @digitalnordic As this is a different issue, you should really open a new thread for this.

    Sounds to me like the shortcodes are being resolved after the mimetype filter is applied (in non-async mode). I will lower the priority of the filter to make sure that the mimetype filter is run after the shortcode in the next version.

    For now, could you try async mode ? that should work.

    If non-async mode is preferred, you could apply the same fix as I’m committing:
    In the main file (mimetype_link_images.php), find line 428:

    add_filter( 'the_content', array( &$this, 'mimetype_to_icon' ) );

    and change it to:

    add_filter( 'the_content', array( &$this, 'mimetype_to_icon' ), 15 );

    Hope this helps!

    Smile,
    Juliette

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with version 2.2.3’ is closed to new replies.