They should have just said:

If you use the shove action while wielding a shield as part of the attack action, you may makes a melee weapon attack as a bonus action.

Everything works out.