WordPress.org

Ready to get started?Download WordPress

Forums

QR Code Generator
[closed] [PATCH] No closing div when credits off (2 posts)

  1. flynsarmy
    Member
    Posted 1 year ago #

    When sending credit=false argument, no closing div is given. You're adding it to the end of the $credit_footer variable instead of as a $postoutput.

    Remove the </div> from $credit_footer then add it to the end of $output like so:

    $output = $preoutput . '<img id="qr_code_generator_wprhe" src="' . $image . '" alt="' . $alt . '" width="' . $size . '" height="' . $size . '"' . $align . $class . ' /></div>';

    http://wordpress.org/extend/plugins/qrcode-wprhe/

  2. Since this is all the same plugin, please keep it to one post :)

    http://wordpress.org/support/topic/patch-use-of-undefined-constant-http_host?replies=1

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.