How to rename files during upload to a random string?

As a free workaround for sites with not that many images, I found that plugin: Random Strings can be generated with Password Generators online or offline and appended to the current file name. It is not as convenient as the automatic solution, but I hope it helps somebody.

Is my WordPress site handing out sensitive information/misconfigured?

The /?rest_route URL is the non-prettified version of /wp-json, which is the URI the WordPress REST API uses. The REST API should not be disabled since the Admin UI relies upon it. Having said that, you can require the REST API only service authenticated users. To require authentication, add the following rest_authentication_errors filter: add_filter( ‘rest_authentication_errors’, …

Read more