PHP 8.0 Quick Code Improvements (to avoid warnings)
-
Can you please make these quick code fixes/improvements to avoid warnings/errors in PHP 8.0? Thank you for this great plugin!
wc-fields-factory/includes/wcff-order-handler.php:52
$this->item_obj = version_compare(WC()->version, '3.0.0', '<') ? $_values : (isset($_values->legacy_values) ? ($_values->legacy_values) : $_values);
wc-fields-factory/includes/wcff-dao.php:737
if( $rule[ "context" ] != "product_variation" && ( wcff()->request != null && wcff()->request["context"] == "wcff_variation_fields" || $location == "cart-page" ) ){
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP 8.0 Quick Code Improvements (to avoid warnings)’ is closed to new replies.