As asked in a comment thread on this blog…
Q: “I find it interesting that the day before he was killed that Joseph Smith drank wine and don’t Mormons have to be temple worthy to worship in the temple and one of the things that make them temple worthy is that they can’t drink alcohollic beverages? So wouldn’t that make Smith not be able to enter the Celestial Kingdom when he passed from this earth if he wasn’t temple worthy at the time of his death?”
A: The simple answer is that drinking wine wasn’t considered a violation of the Word of Wisdom at the time of Joseph’s death. As stated at FAIRMormon.org:
The text of the Word of Wisdom forbids “strong drink” (D&C 89:5, 7), which was initially interpreted as distilled beverages (hard liquor). Beer, unfermented or lightly fermented wine, and cider were considered “mild drinks” (D&C 89:17) and therefore acceptable (note that verse 17 specifically permits “barley…for mild drinks”). The complete prohibition of alcoholic drinks of any kind only became part of the Word of Wisdom following the temperance movement of the late 19th and early 20th centuries; Presidents Joseph F. Smith and Heber J. Grant supported the movement and Grant made complete abstention from alcohol in any form a requirement for a temple recommend in the early 1920s.