Skip to content

Bug in Delete Script #5

@sheabunge

Description

@sheabunge

I wanted to send a quick note on a bug i discovered in the Delete Files script when uninstalling the plugin.

Line 1333

$wpdb->query( "DROP TABLE IF EXISTS $code_snippets->table" );

this causes private class access failure.

Should be:

$wpdb->query( "DROP TABLE IF EXISTS $code_snippets_table" );

this new code tested out correctly. although i am not running Multi-site, the same change may need to be added to line 1329.

Thanks for the awesome plugin.

Originally posted here

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions