{1}{W}: Target nonattacking, nonblocking creature gets +0/+2 until end of turn.
The bonus is not lost if the creature later becomes an attacker or blocker. The limitation is just there to prevent the effect from being used late in an attack.