wordpress-plugin icon indicating copy to clipboard operation
wordpress-plugin copied to clipboard

wordpress notice register_uninstall_hook was called incorrectly

Open WesleyCharlesBlake opened this issue 6 years ago • 0 comments

There is an error in the register_uninstall hook, which throws a notice when debug mode is enabled

currently the hook is called:

/path/to/wp/plugins/po-et/poet.php:        register_uninstall_hook( $this->plugin, array( $this, 'uninstall' ) );

As per the docs

register_uninstall_hook( string $file, callable $callback )

WesleyCharlesBlake avatar Aug 28 '19 08:08 WesleyCharlesBlake