• line 154 should be
    $image_html = '<a href="' . $edit_post_link . '">'. get_the_post_thumbnail($post->ID, $size, array('style' => $style, 'class' => $child) ) . '</a>';

    instead of

    $image_html = '<a href="' . $edit_post_link . '">'. the_post_thumbnail( $size, array('style' => $style, 'class' => $child) ) . '</a>';

    The original code has echoed the thumbnail right away, while the new one returns it. This bug causes the edit links to be out of place.
    ??

    All the best,
    Chief

    https://www.ads-software.com/plugins/thumbnailsforbackend/

Viewing 1 replies (of 1 total)
  • Thread Starter LZL0

    (@lchief)

    and add
    if ( ! defined( 'ABSPATH' ) ) exit;
    to the beginning of the main file ;D

Viewing 1 replies (of 1 total)
  • The topic ‘I like your plugin very much, but it has one bug’ is closed to new replies.