And it appears to me that this is the explanation: for we have already written in section 16 that there are those who permit in the case of a divorcee because she is not obligated to nurse, and that many disagree regarding this. And there are some of our teachers who hold that if she has nursed him until now and the infant recognizes her, we compel her to nurse him due to the danger to the child, for after he recognizes her he will not accept nursing from another; but before he recognizes her, he agrees with the opinion of the one who permits, and this is the opinion of the Rashba, of blessed memory. And according to this, it can be said that even those who forbid in the case of a divorcee only forbade when she had at least begun to nurse, for even if he does not recognize her yet, she is nevertheless included in the category of "the wet-nurse of his fellow." However, when she has not begun to nurse at all, she is not included in the category of "the wet-nurse of his fellow," so as not to create three disputes regarding a divorcee. And in truth, we have not explicitly found among the Rishonim that they would forbid in the case of a divorcee when she had not begun to nurse. However, the Rivash in a responsum ruled regarding a pregnant widow who had not begun to nurse and had hired a wet-nurse that she is forbidden until twenty-four months, for there is reason to decree lest she does not give [the child to a wet-nurse]. And this is the second "there are those who say," and so he brought in his great book. And according to this, this decree exists in the case of a divorcee as well; for according to the essential law, since it was not her intention to nurse him and she had not begun to nurse, even in the case of a widow we should not have forbidden her, for she is not included in the category of "the wet-nurse of his fellow" and is not included in the category of an ordinary pregnant woman who is standing to nurse, as I wrote in section 21. Nevertheless, they forbade her, as per the opinion of our teacher, the Rema, there. And the reason is because we decree lest she does not give him to a wet-nurse since the matter is not recognizable, as I wrote in section 12; if so, this decree exists also in the case of a divorcee according to the opinion of those who forbid in the case of a divorcee. Nevertheless, our teacher, the Beit Yosef, wrote in his great book that he saw teachers who permit in the case of a divorcee even when she had begun to nurse if he does not recognize her yet, and they rely on the opinion of the Rashba, of blessed memory—and he did not protest against them [and so wrote the Bach, and the Taz disagrees regarding this].
ונ"ל דה"פ: דכבר כתבנו בסעי' ט"ז שיש מתירים בגרושה מפני שאינה משועבדת להניק ושרבים חולקים בזה, ויש מרבותינו דס"ל דאם הניקתו עד כה והתינוק מכירה כופין אותה להניקו מפני סכנת הולד, דאחרי שמכירה לא יקבל הנקה מאחרת, אבל קודם שמכירה מסכים לדעת המתיר וזהו דעת הרשב"א ז"ל. ולפ"ז י"ל דאף האוסרים בגרושה לא אסרו אלא כשעכ"פ התחילה להניק אף שאינה מכירה עדיין מ"מ היא בכלל מינקת חבירו, אבל כשלא התחילה להניק כלל אינה בכלל מנקת חבירו כדי שלא לעשות שלש מחלוקת בגרושה. ובאמת לא מצינו להדיא בראשונים שיאסרו בגרושה כשלא התחילה להניק, אמנם הריב"ש בתשו' פסק באלמנה מעוברת ולא התחילה להניק ושכרה מינקת שאסורה עד כ"ד חדש, דאיכא למגזר אטו לא נתנה, וזהו הי"א השני, וכן הביאו בספרו הגדול, ולפ"ז הך גזירה יש בגרושה ג"כ, דמעיקר הדין כיון שלא היה בדעתה להניקו ולא התחילה להניק גם באלמנה לא היה לנו לאוסרה דאינה בכלל מנקת חבירו ואינה בכלל סתם מעוברת דקיימי למניקה וכמ"ש בסעי' כ"א, ומ"מ אסרוה וכדעת רבינו הרמ"א שם, והטעם מפני דגזרינן אטו לא נתנה למינקת כיון שאין הדבר ניכר כמ"ש בסעי' י"ב א"כ גזירה זו יש ג"כ בגרושה לדעת האוסרים בגרושה. ומ"מ כתב רבינו הב"י בספרו הגדול שראה מורים מתירים בגרושה אף כשהתחילה להניק אם אינו מכירה עדיין, וסומכים ע"ד הרשב"א ז"ל – ולא מיחה בידם [וכ"כ הב"ח, והט"ז חולק בזה].