What version of WordPress do you use?
Thread Starter
Nate
(@natebognar)
Some sites are 3.5.1 and some are 3.5.2. I just tried updating to 3.6 and the problem persists.
By the way, why do you use Really Simple CAPTCHA? Don’t you have CAPTCHA alternatives with Gravity Forms?
Thread Starter
Nate
(@natebognar)
Yes, but our clients much prefer solving simple math equations instead of trying to read blurry text.
Try using Really Simple CAPTCHA with the latest Contact Form 7. If you don’t see the issue with the two, it means the problem exists in Gravity Forms code (I myself don’t know about Gravity Forms code at all because it is a paid plugin).
Hi!
I wrote a PowerShell script to delete these captchas and just run it as a scheduled task, since I couldn’t figure out how to fix it in Gravity Forms.
If you set the $path variable to your sites folder, you can run this script as a scheduled task. Let me know how it works for you, Nate.
$path = Read-Host "Enter a path"
$logfile = "c:\log\deleted_folders_$(Get-Date -f MM_dd_yyyy).txt" #This log file WILL be hundreds of megabytes if not more the first time you run it, be warned.
dir $path -Recurse | Where-Object {$_.DirectoryName -match 'captcha-*' -and $_.FullName -match 'gravity_forms' -and ($_.Name -match '.txt' -or $_.Name -match '.png')} | Foreach-Object{
Add-Content -Path $logfile -Value ("Name: {0} Date: {1}" -f $_.FullName,(Get-Date)) #Add to the log file
Remove-Item -Path $_.FullName -Recurse -Force #Delete the item
}