The video will take you through the process I use to detect if there’s an issue and what steps I take to clean the server. Once you’ve determined there’s an issue, let’s start by collecting IPs from the access logs. nano /var/log/nginx/access.log Some things to look for: POST actions /wp-login.php (easier to determine with sites […]
Also check out: Using PHP Lambda Functions with WordPress add_action() and add_filter() Functions There are 2 hooks necessary to 1) create the drop down, and 2) to filter the actual query to show the results. With 1 taxonomy, it doesn’t really matter, but the more taxonomies you have and want filterable in the WordPress admin, […]
I’m a fan of anonymous functions and reusable function definitions, like PHP lambda functions in JavaScript. I’ve used anonymous functions in WordPress development where possible, so for example: add_filter(‘widget_text’, function($html) { if( strpos($html,'<?php’) !== false ) { ob_start(); eval(‘?>’ . $html); // Close the current PHP tag…the contents we’ll get will have <?php ?> tags […]
It’s true, the information from the file revisioning tool that developers rely on could be getting into the wrong hands. Having your server set up correctly to block hidden files and directories is important. Test your site, and see if you can go to http://<YourWebsite.com>/.git. If you can, you’ve got a serious security issue you […]