B. had worn / wouldn't have hurt
Feedback We use past unreal conditionals to refer to actions which never happened in reality. It can be an unreal result, imagined situation or regret about what really happened in the past. Here: in reality Ann hurt her feet because of uncomfortable shoes. Now she regrets about this.