The admin_post_thumbnail_html filter is allowing the $thumbnail_id parameter to be null or undefined but the when a callback for that hook is registered in the plugin, the $thumbnail_id parameter is set to always be defined, thus filter application with just two arguments are throwing fatal errors when the plugin is activated.
Closes #195
How to test the Change
In the theme's functions.php file add the following command
Description of the Change
The
admin_post_thumbnail_html
filter is allowing the$thumbnail_id
parameter to be null or undefined but the when a callback for that hook is registered in the plugin, the$thumbnail_id
parameter is set to always be defined, thus filter application with just two arguments are throwing fatal errors when the plugin is activated.Closes #195
How to test the Change
functions.php
file add the following commandChangelog Entry
Credits
Props @kmgalanakis
Checklist: