I've noticed that if I upload an image to the media library it is given a post_name in the database and is then accessible via
mysite.com/wordpress/its-post_name. It only seems to do it if I upload it via media > add new. If it's added to the post via 'set featured image' it doesn't do it.
This could be a problem if visitors type in a url expecting to find an article, but only discover the corresponding image. Is there any way to block access to this type of image-only 'post'?
Is it supposed to do this or is it some kind of bug?