Wireframe mode doesn't select everything I had this feature until I must've clicked on something. But on wireframe mode, when i'm trying to select trough everything, it doesn't..react same way as if it was in solid mode.
You probably disabled X-Ray mode.
It's enabled by default, but can be switched off/on.