• Resolved Pat Gilmour

    (@patgilmour)


    Hi,

    WooCommerce now contains a downloadable file-type check in:
    ‘/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php’

    This appears to check downloadable product paths to make sure they comply with a list of accepted exceptions. Great for security, but…

    We regularly include paths of the type:
    https://www.example.com/blah/myFile.php?=85h3igh35fgh393g’

    We do this because we sometimes link directly to downloads that are external to our site.

    We can’t do this any more because, on product submit, we get the error: “[…]cannot be used as it does not have an allowed file type”

    My Question: Is there a way to turn the above error into a warning or disable it altogether? Using a hook? Obviously, we don’t want to mess with the plugin files.

    Thanks – Pat

    https://wordpress.org/plugins/woocommerce/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘2.3.10 / 2.3.11 – Hook to disable downloadable file-type check’ is closed to new replies.