It can be sometimes bothersome when, in the Discussion (Comments) dashboard, where the admin can see a list of comments, moving the mouse over a link will cause a preview of that link. Sometimes the preview gets in the way of looking at the comment. This is especially true with spam comments.

And I am also concerned that a link to a page/site that had some ‘bad’ code would cause a compromise of my site.

Is there a way to disable this ‘feature’? Not sure where it is coming from.

3 Answers
3

Since version 4.1.6, Akismet has a filter which allows you to disable these “mShots” (the site preview popups):

<?php
function disable_akismet_mshots( $value ) {
    return false;
}
add_filter( 'akismet_enable_mshots', 'disable_akismet_mshots' );

Leave a Reply

Your email address will not be published. Required fields are marked *