mirror of
https://github.com/lubuntu-team/lubuntu.me.git
synced 2025-02-22 15:51:08 +00:00
12 lines
402 B
PHP
12 lines
402 B
PHP
<?php
|
|
|
|
/*
|
|
* Merged by Davide Giunchi, from plugin "Stop User Enumeration" url "http://locally.uk/wordpress-plugins/stop-user-enumeration/" by "Locally Digital Ltd"
|
|
*/
|
|
|
|
if (!is_admin() && isset($_SERVER['REQUEST_URI'])) {
|
|
if (preg_match('/(wp-comments-post)/', $_SERVER['REQUEST_URI']) === 0 && !empty($_REQUEST['author'])) {
|
|
wp_die('Accessing author info via link is forbidden');
|
|
}
|
|
}
|