• Resolved brambil

    (@brambil)


    In certain circumstance (some kind of attachments) thrown in WP_ERROR.

    Line 89 and 166 of class-wau-front-end.php

     89: $addon_id['media_url'] = wp_get_attachment_url( esc_attr( $attach_id ) );

    166: <span style="font-family: inherit; font-size: 0.8rem;">$media_url = wp_get_attachment_url( esc_attr($addon_id['media_id']) );</span>

    Solution:

    89: <span style="font-family: inherit; font-size: 0.8rem;">$addon_id['media_url'] = wp_get_attachment_url( $attach_id  );</span>
    166: <span style="font-family: inherit; font-size: 0.8rem;">$media_url = wp_get_attachment_url( $addon_id['media_id'] );</span>
Viewing 1 replies (of 1 total)
  • Plugin Author Dhruvin

    (@dhruvin)

    Hello @brambil

    Thank you for reporting the error and the solution.

    To test this further, can you please share what kind of attachment was used so we too can test before releasing the fix for this behavior?

    Best Regards,
    Dhruvin Shah

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.