WooCommerce 3 CRUD compatibility
-
Could you update code of your plugin to use CRUD methods for
WC_Product
objects? Currently plugin is spamming log heavily with direct properties access notices:
PHP Notice: post was called <strong>incorrectly</strong>. Product properties should not be accessed directly.
There’s couple of places in
WC_Rejoiner->rejoiner_tracking_code()
like:$_product->post->ID
$_product->variation_id
and getters should be used instead.
- The topic ‘WooCommerce 3 CRUD compatibility’ is closed to new replies.