• Resolved raidenelite

    (@raidenelite)


    Hello, i tried to search but didn’t find this reported and not sure this is supposed to happen.

    I realized that the coupon dashboard for non-plugin coupons (so unassigned to an user) is visible for everyone
    Url example:
    https://example.com/affiliates/?couponid=TEST

    Anyone, even logged out can see this page and how many orders have been made with this coupon.
    I did some research and found out the culprit in file woo-coupon-usage/inc/functions/functions-shortcode.php
    at line 132

    this check ($couponuser == $currentuserid)
    returns true as coupon user is null and current user id is 0

    Hope the staff can look into it
    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Standard coupon dash visible for everyone’ is closed to new replies.