I hereby claim:
- I am thelovekesh on github.
- I am thelovekesh (https://keybase.io/thelovekesh) on keybase.
- I have a public key ASDD62OxaI0iYQk-BcbLz1T3WIizLM9ZW030mFmRa3MJOwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Plugin Name: Demo Site Health Test | |
* Description: Add site health tests to the WordPress site-health dashboard. | |
* Version: 1.0.0 | |
* Requires at least: 5.1 | |
* Requires PHP: 5.6 | |
* Author: thelovekesh | |
* Author URI: https://thelovekesh.com/ | |
* License: GPL v2 or later |
<?php | |
/** | |
* Plugin Name: Find Logged-in User by ID | |
* Author: thelovekesh | |
* Description: This plugin will find the logged-in user by ID. | |
* Text Domain: thelovekesh | |
* | |
* @package thelovekesh | |
*/ |
// Silence is golden. |
# Include these headers in /etc/nginx/sites-available/example.com.conf file | |
# security headers | |
add_header X-Frame-Options "SAMEORIGIN" always; | |
add_header X-XSS-Protection "1; mode=block" always; | |
add_header X-Content-Type-Options "nosniff" always; | |
add_header Referrer-Policy "no-referrer-when-downgrade" always; | |
add_header Content-Security-Policy "default-src 'self' http: https: data: blob: 'unsafe-inline'" always; | |
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; |