Can give me the steps to reproduce it?
Thread Starter
sgpark
(@sgpark)
Polls >
Manage Polls >
for specific poll click Logs >
scroll down to “Delete Poll Logs” >
Under “Are You Sure You Want To Delete Logs For This Poll Only?”
Check “Yes” >
Click button “Delete Logs For This Poll Only”
…nothing happens.
I tried in different browsers on both Mac and Windows.
Weird, that is what I did before I asked the question and it works fine on my end.
Only thing I can think of is that there is a JS issue on yours, might want to check this link out https://codex.ww.wp.xz.cn/Using_Your_Browser_to_Diagnose_JavaScript_Errors to see if there is any JS errors.
Thread Starter
sgpark
(@sgpark)
The following JS error:
Uncaught SyntaxError: missing ) after argument list
admin.php?page=wp-polls%2Fpolls-manager.php&mode=logs&id=9:849 Uncaught SyntaxError: missing ) after argument list
Is there a JS error when u load the page, before u clear the log?
What is the poll title you are clearing the logs for?
Thread Starter
sgpark
(@sgpark)
Aha. I see where you’re going. Yes, the poll question has parentheses () in it. Do you think this is causing the problem–that the parentheses are not escaped?
Yes that might be it. Try replacing this file https://github.com/lesterchan/wp-polls/raw/master/polls-logs.php with the one of your server to see if it is fixed.