Skip to content
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

Fix undefined access at delete_question static function #746

Merged
merged 1 commit into from
Dec 9, 2018

Conversation

bpanatta
Copy link
Contributor

@bpanatta bpanatta commented Dec 5, 2018

The delete_question method at QSM_Questions class was missing the global $wpdb; declaration, raising Exception when using it.

When used, the function would raise an Exception for not having the global $wpdb
@fpcorso
Copy link
Contributor

fpcorso commented Dec 9, 2018

Hey @bpanatta

Thanks for creating a pull request. I am shocked that I and no one else had discovered this issue yet. I am merging this now!

@fpcorso fpcorso merged commit ee6b4ac into QuizandSurveyMaster:master Dec 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants