get_current_screen return value
-
Hi,
According to this page: https://codex.www.ads-software.com/Function_Reference/get_current_screen the get_current_screen function can return NULL instead of an object.
Woocommerce-eu-vat-assistant does not validate the return value of that function and uses it directly. I faced that problem on the wysija (mailpoet) newsletter editor’s separator configuration (which calls /wp-admin/admin.php?page=wysija_campaigns&action=dividers&tab=dividers&emailId=3)
Regards, Damien
https://www.ads-software.com/plugins/woocommerce-eu-vat-assistant/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘get_current_screen return value’ is closed to new replies.