Klaviyo | Site Banner Q1 2026

Product Icon

URL Coupons for WooCommerce

Add a unique URL to a coupon code to automatically apply discounts and (optionally) add products to the customer's cart.

PHP 8.2 Compatibility

Hi! I noticed that your URL Coupons plugin seems to be compatible with recent PHP versions just by adding parentheses in an expression in includes/WJECF_Controller.php:92 so it reads:

$this->log( ‘debug’, “INIT ” . ( (is_ajax() ? “AJAX” : is_admin()) ? “ADMIN” : “FRONTEND” ) . ” ” . $_SERVER[‘REQUEST_URI’] );

Tested with PHP 8.2 (not extensively, but not load errors).
I just thought that would be a nice improvement if you would support it.

Regards,
Jeff

Author

atdevs

Current Status

Open

Last updated: July 25, 2024

0 comments

Log in to comment on this feature request.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.