She has a son in a pigsty. Wise William is sent to seek her; he sends his wife, and when she finds her, she persuades her to change her son for her daughter, saying that they will both raise the other's child fittingly.
She has a child living in squalor. Wise William is dispatched to find her; he dispatches his wife, and when she discovers her, she convinces her to exchange their children, suggesting they will both raise the other's offspring properly.