| | |
| | | // Remove version info and meta tags |
| | | remove_action('wp_head', 'wp_generator'); |
| | | remove_action('wp_head', 'rsd_link'); |
| | | remove_action('wp_head', 'wlwmanifest_link'); |
| | | remove_action('wp_head', 'wp_shortlink_wp_head'); |
| | | |
| | | // Remove emoji support |
| | |
| | | |
| | | // Block user enumeration |
| | | add_action('init', 'jvbBlockUserEnumeration'); |
| | | add_filter('rest_endpoints', 'jvbDisableUserEndpoints'); |
| | | // add_filter('rest_endpoints', 'jvbDisableUserEndpoints'); |
| | | add_filter('author_rewrite_rules', '__return_empty_array'); |
| | | |
| | | // Disable file editing in admin (if not already set) |