The 10K to +5V referrers to the pull up resistor if you read all the sentence, not the power supply.
You need pullup resistors on the shift register input pins, 10K to +5V.
Note that all the inputs on the shift register need pulling up not just those with switches on.