Shocked CO and 13 CO around Wolf-Rayet ring nebulae