And it appears in my humble opinion that this is its explanation: That certainly the words of our teacher, the Beit Yosef, deal with a case where he will not bury him today, as I have written. And therefore, even though by the law he is an onen, nevertheless, the positive commandment of an individual does not come, etc. And we say: since he will not bury him today – he is permitted meat and wine. And since we nullify his status of onen because of the joy of Purim, all the more so is he obligated in Megillah, and prayer, and Kriat Shema, for since he will not bury him today – he is not a definitive onen. And since it is necessary to nullify his status of onen because of the joy of Purim – we nullify it entirely. And afterward he says another law: that since it has been renewed for us that when he does not bury him today we nullify his status of onen, therefore, when his deceased dies at the beginning of the night, and it is not the practice to bury at night – we nullify his status of onen regarding the reading of the Megillah, for it is a positive commandment of the public, and automatically also regarding Kriat Shema and prayer. But meat and wine – are not relevant at night, and we do not permit them to him. But during the day, when he wants to bury him – he buries him, and afterward he fulfills all the mitzvot of Purim. And our teacher, the Beit Yosef, deals with a case where he does not bury him on that day, as I have written. (And with this, all the difficulties of the Magen Avraham are removed from him, see there. And be precise and you will find it easy.)
ונראה לעניות דעתי דהכי פירושו: דוודאי דברי רבינו הבית יוסף מיירי כשלא יקברנו היום, כמו שכתבתי. ולכן אף על גב דמדינא הוי אונן, מכל מקום לא אתי עשה דיחיד, וכו'. ואמרינן: כיון שלא יקברנו היום – מותר בבשר ויין. וכיון דמבטלינן לאנינותו מפני שמחת פורים, כל שכן שחייב במגילה, ותפילה, וקריאת שמע, דכיון שלא יקברנו היום – אינו אונן ברור. וכיון דבהכרח לבטל אנינותו משום שמחת פורים – מבטלינן ליה מכל וכל. ואחר כך אומר דין אחר: דכיון דנתחדש לנו דכשאינו קוברו היום דמבטלינן אנינותו, ולכן כשמת לו מת בתחילת הלילה, ואין דרך לקבור בלילה – מבטלינן ליה אנינותו לעניין מקרא מגילה, דהיא עשה דרבים, וממילא גם לגבי קריאת שמע ותפילה. אבל בשר ויין – לא שייך בלילה, ולא מתירינן ליה. אבל ביום, כשרוצה לקוברו – קוברו, ואחר כך מקיים כל מצות פורים. ורבינו הבית יוסף מיירי כשאינו קוברו בו ביום, כמו שכתבתי. (ובזה סרו מעליו כל קושיות המגן אברהם, עיין שם. ודייק ותמצא קל.)