Skip to content

Bug in Delete Script #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sheabunge opened this issue Dec 27, 2012 · 0 comments
Closed

Bug in Delete Script #5

sheabunge opened this issue Dec 27, 2012 · 0 comments
Labels

Comments

@sheabunge
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant