White creatures you control get +2/+2 until end of turn.
Guardians’ Pledge only gives a bonus to white creatures you control when it resolves. Creatures that enter the battlefield later in the turn and nonwhite creatures that become white later in the turn will not get the bonus.
If a white creature that gets the bonus stops being white later in the turn, it will continue to get +2/+2 until end of turn.