Support » Plugin: Custom Post Donations » I fixed PHP warning on custom-post-donations.php

  • Resolved Nick Powers

    (@nickpowers)


    On line 188 of custom-post-donations.php

    You have:
    return createCPDonationForm($atts[id]);

    when it should be:
    return createCPDonationForm($atts['id']);

    Doing so removes the following warning:
    Notice: Use of undefined constant id – assumed ‘id’ in /var/www/dev.nickpowers.info/html/wp-content/plugins/custom-post-donations/custom-post-donations.php on line 188

    You might think about making this change in the next update.

    http://wordpress.org/extend/plugins/custom-post-donations/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘I fixed PHP warning on custom-post-donations.php’ is closed to new replies.