WordPress.org

Ready to get started?Download WordPress

Forums

BP Group Documents
[resolved] Bugfix for broken icon link (2 posts)

  1. sanderbontje
    Member
    Posted 11 months ago #

    Thanks for picking up the work on this plugin!

    I have found a small error. After uploading an Illustrator file with the .eps extension, the icon for page_white_vector is inserted. But the link to the icon image misses its extension:

    <img class="bp-group-documents-icon" src="http://www.domain.com/wp-content/plugins/bp-group-documents/images/icons/page_white_vector" alt="" />
    should be
    <img class="bp-group-documents-icon" src="http://www.domain.com/wp-content/plugins/bp-group-documents/images/icons/page_white_vector.png" alt="" />

    It's in the file bp-group-documents/include/classes.php at line 533:
    'eps' => 'page_white_vector',
    change it to
    'eps' => 'page_white_vector.png',
    and while you're at it take a look at line 551 and change it to:
    'msp' => 'page_white_paintbrush.png',

    Best wishes,
    Sander

    http://wordpress.org/plugins/bp-group-documents/

  2. lenasterg
    Member
    Plugin Author

    Posted 11 months ago #

    @sanderbontje, thanks for reporting that bugfix.
    Will correct it in next release.
    Bests Lena.

Reply

You must log in to post.

About this Plugin

About this Topic