Short description of error
Shift clicking a node with hidden sockets will still connect those hidden sockets to the output node.
Exact steps for others to reproduce the error
- Add a node with a lot of sockets (e.g. a texture coordinate node)
- Press Ctrl H to hide the nodes sockets
- Shift click the node. Hidden sockets will be connected.