Joseph Smith received a revelation on August 28th, 1830. When it was originally received, here is how it read in the first handwritten version (Revelation Book 1):
A Revelation to the Church given at Harmony sesquehann County State of Pennsylvania given to Joseph the Seer at a time that he went to punch wine Sacrament & he was stopped by an angel &
he he spoke to him as follows Saying
Listen to the voice of Jesus Christ your Lord your God & your Redeemer whose word is quick & powerful for Behold I say unto you it mattereth not what ye shall eat or what ye shall drink when ye partake of the sacrament if it so be that ye do it with an eye single to my glory Remembering unto the father that my Body which laid down for you & my blood which was shed for
you the Remission of y sins Wherefore a commandment I give unto you that ye shall not Purchase Wine neither strong drink of your enemies Wherefore ye shall partake none except it is made new among you yea in this my Fathers Kingdom which shall be built up on the earth Behold this is wisdom in me Wherefore marvel not for the hour cometh that I will drink of the fruit of the Vine with you on the Earth & with those whom my father hath given me out of the world Wherefore life up your hearts & rejoice & Gird up your loins & be faithful until I come even so amen.
The first time it was put into print WW Phelps was the editor in Missouri. The paper was The Evening and Morning Star. He edited it and the version he printed read as follows:
A COMMANDMENT GIVEN SEPTEMBER 4, 1830
LISTEN to the voice of Jesus Christ, your Lord, your God, and your Redeemer, whose word is quick and powerful.
For behold I say unto you, that it mattereth not what ye shall eat, or what ye shall drink, when ye partake of the sacrament, if it so be that ye do it with an eye single to my glory; remembering unto the Father my body which was laid down for you, and my blood which was shed for the remission of sins:
Wherefore a commandment I give unto you, that you shall not purchase wine, neither strong drink of your enemies:
Wherefore you shall partake of none, except it is made new among you, yea, in this my Father’s kingdom which shall be built up on the earth.
Behold this is wisdom in me, wherefore marvel not, for the hour cometh that I will drink of the fruit of the vine with you, on the earth, and with all those whom my Father hath given me out of the world: Wherefore lift up your hearts and rejoice, and gird up your loins.
This printed version was from the Missouri press a mob destroyed. Some few copies still exist. But the press was destroyed and the effort had to be made again to publish the document. In Kirtland a new version was printed in the renamed paper. Whereas before it was THE Evening and Morning Star, in Kirtland the paper was titled: “Evening and Morning Star” (no “The” in the title of this newspaper). This version was edited and updated by Oliver Cowdery. He made additions to many of the revelations “to reflect current organization, doctrine, and practice, which had continued to develop side the revelations were first dictated.” (Joseph Smith Papers, “Revelations and Transcriptions,” Vol 2, p. 199.) Below is the version Oliver Cowdery printed (which subsequently became the source from which the 1835 edition of the D&C was taken):
Given September, 1830
Listen to the voice of Jesus Christ, your Lord, your God, and your Redeemer, whose word is quick and powerful.
For behold I say unto you, that it mattereth not what ye shall eat, or what ye shall drink, when ye partake of the sacrament, if it so be that ye do it with an eye single to my glory; remembering unto the Father my body which was laid down for you, and my blood which was shed for the remission of your sins:
wherefore a commandment I give unto you, that ye shall not purchase wine, neither strong drink of your enemies:
wherefore you shall partake of none, except if is made new among you, yea, in this my Father’s kingdom which shall be built up on the earth.
Behold this is wisdom in me: wherefore marvel not for the hour cometh that I will drink of the fruit of the vine with you on the earth, and with Moroni, whom I have sent unto you to reveal the book of Mormon, containing the fulness of my everlasting gospel; to whom I have committed the keys of the record of the stick of Ephriam; and also with Elias, to whom I have committed the keys of bringing to pass the restoration of all things, or the restorer of all things spoken by the mouth of all the holy prophets side the world began, concerning the last days: ale also John the son of Zacharias, which Zacharias he (Elias) visited and gav promise that h should have a son, and his name should be John, and he should be filled with the spirit of Elias; which John I have sent unto you, my servants, Joseph Smith, jr. and Oliver Cowdery, to ordain you unto this first priesthood which you have received, that you might be called and ordained even as Aaron: and also Elijah, unto whom I have committed the keys of the power of turning the hearts of the fathers to the children and the hearts of the children to the fathers, that the whole earth may not be smitten with a curse: and also, with Joseph, and Jacob, and Isaac, and Abraham your fathers; by whom the promises remain: and also with Michael, or Adam, the father of all, the prince of all, the ancient of days.
And also with Peter, and James, and John, whom I have sent unto you, by whom I have ordained you and confirmed you to be apostles and especial witnesses of my name, and bear the keys of your ministry; and of the same things which I revealed unit them, unto whom I have committed the keys of my kingdom, and a dispensation of the gospel for the last time; and for the fulness of times, in the whih I will gather together in one all things both which are in heaven and which are on earth: and also with those whom my Father hath given me out of the world:
wherefore lift up your hearts and rejoice, and gird up your loins, and take upon you my whole armor, that ye may be able to withstand the evil day, having done all ye may be able to stand. Stand, therefore, having your loins girt about with truth; having on the breastplate of righteousness; and your feet shod with the preparation of the gospel of peace which I have sent mine angels to commit unto you, taking the shield of faith wherewith ye shall be able to quench all the fiery darts of the wicked; and take the helmet of salvation, and the sword of my Spirit, which I will pour out upon you, and my word which I reveal unto you, and be agreed as touching all things whatsoever ye ask of me, and be faithful until I come, and ye shall be caught up that where I am ye shall be also. Amen.
I will not type the version now in your D&C. Nor will I contrast these versions with each other. It should be apparent, however, that the version given originally and what the editors did with it has been a “growing concern.” The 1835 D&C took the last version and edited it. Joseph Smith was on the editorial board for that version, however, Joseph spent his efforts editing the Lectures on Faith, to be part of the book. He “apparently relied on others to do the actual typesetting and printing and possibly the bulk of the editing, arranging, and other intellectual work needed to prepare the revelations for print.” (Joseph Smith Papers, “Revelations and Transcriptions,” Vol. 2, p. 305.) Therefore we do not know what Joseph thought of the editorial alterations made to Section 27.