Scan multiple websites for malware that are in same webhost root?

The only way that I have found (and used) to get rid of ‘unauthorized’ code is to manually check everything. This includes changing access credentials for hosting, ftp, databases, admin-level users. Strong passwords, of course. reinstalling everything (themes, plugins, custom code) from known good sources via a manual FTP process. Also, reinstalling WP from the … Read more

Filter custom comment type from Manage Comments & Dash Widgets

Doh, looks like the answer was staring me in the face. add_filter( ‘comments_clauses’, ‘myPlugin_exclude_custom_comments’, 10, 1); function myPlugin_exclude_custom_comments( $clauses ) { // Hide all those comments which aren’t of type system_message $clauses[‘where’] .= ‘ AND comment_type != “system_message”‘; return $clauses; } What this does is edit all comment queries to find comments that don’t have … Read more