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

Update buddydrive-item-ajax.php #22

Closed

Conversation

micheledibenedetto7
Copy link

Hello Imath, i found that making an ajax call to "buddydrive_deleteitems" action with the right nonce and passing "items=0," as a parameter it accept the "0" as value so deletes almost all posts in my database with all related buddydrive files and not only what is supposed to be deleted(in the case of a "0", nothing). That's the reason of my proposal. Hope this can help.

Hello Imath, i found that making an ajax call to "buddydrive_deleteitems" action with the right nonce and passing "items=0," as a parameter it accept the "0" as value so deletes almost all posts in my database with all related buddydrive files and not only what is supposed to be deleted(in the case of a "0", nothing). That's the reason of my proposal. Hope this can help.
@imath imath added the Task label May 27, 2015
@imath imath added this to the 1.3 milestone May 27, 2015
@imath imath self-assigned this May 27, 2015
@imath
Copy link
Collaborator

imath commented May 27, 2015

Thanks for the report & request, i've opened this issue #30 and will fix this in 1.3

@imath imath closed this May 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants