Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unserialize $cart_details passed to functions hooked to edd_complete_download_purchase #9685

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 23, 2023

  1. Unserialize cart data for "complete purchase" hook

    edd_get_order_item_meta() is called without defining
    a metakey, which in turn uses get_metadata() to get
    all the order's metadata. When a metakey is not set
    in get_metadata(), WordPress doesn't unserialize
    the data (see last portion of get_metadata_raw()).
    goncalovf committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    a6ef06c View commit details
    Browse the repository at this point in the history