Skip to content

wordpress notice register_uninstall_hook was called incorrectly #67

@WesleyCharlesBlake

Description

@WesleyCharlesBlake

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 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions