Tag Archives: maintenance


Snippet: Deny requests from a malicious URL

Add following snippet to “functions.php” Snippet Result It is a very handy and must have code to be placed on all of your installations. It is some simple and straight. It denies all the request that has malicious code in the request.

Snippet: Set maximum number of post revisions to avoid DB overhead

Revisions are stored as separate posts, the more revisions the more space they will take inside database. To avoid this database overhead there is a constant inside config file for maximum revisions.