• Resolved timholz

    (@timholz)


    Hi

    Thank you for providing this plug-in.

    Line 3 in ?paypal-button.php? produces an error message when debugging in wp-config.php is true.
    Here is the error message:
    Notice: Undefined index: new_tab in /Applications/MAMP/htdocs/Wordpress/wp-content/plugins/paypal-donations/views/paypal-button.php on line 3

    When i omit line three in ?paypal-button.php? this message disappears. This is the changed code:
    <!– Begin PayPal Donations by https://johansteen.se/ –>
    <form action=”<?php echo apply_filters( ‘paypal_donations_url’, ‘https://www.paypal.com/cgi-bin/webscr&#8217;); ?>” method=”post”<?php

    echo ‘ target=”_blank”‘;

    ?>>

    Is this behaviour intentional?

    regards
    theo

    https://www.ads-software.com/plugins/paypal-donations/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Johan Steen

    (@artstorm)

    Hey,

    Thanks for pointing that out. I’ve now adjusted the plugin to not throw a notice when using WordPress in debug mode. The just released 1.8.4 includes this fix.

    Cheers,
    Johan

    Thread Starter timholz

    (@timholz)

    Hallo Johan

    Thanks a lot for this speedy update.
    Works fine.

    all the best to you
    theo

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Notice: Undefined index: new_tab’ is closed to new replies.