WordPress.org

Ready to get started?Download WordPress

Forums

Easy Digital Downloads
[resolved] edd_purchase_variable_pricing() function argument (7 posts)

  1. Ahaenor
    Member
    Posted 1 year ago #

    Hello!

    During the update from 1.5.1 to 1.5.2 we have found that edd_purchase_variable_pricing() function now has a second arg.

    Can it have a default value (FALSE)? Right now both args is required, and it leads to PHP errors.

    http://wordpress.org/extend/plugins/easy-digital-downloads/

  2. Ahaenor
    Member
    Posted 1 year ago #

    Sorry, i've rushed a bit ) A "TRUE" would fit better.

  3. What are the errors?

  4. Ahaenor
    Member
    Posted 1 year ago #

    Warning: Missing argument 2 for edd_purchase_variable_pricing()
    It can be seen while rendering [downloads] shortcode, for ex.

    It's reasonable - earlier this function called without second arg, and now it's required.

  5. Ah yes, makes sense and you're right. I'll patch that.

  6. It's been patched for 1.5.3.

  7. Ahaenor
    Member
    Posted 1 year ago #

    Ok, thank you very much.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.